Skip to main content

Source Property

Gets or sets the image that will be displayed.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

[ContentAttribute]
public IImage? Source { get; set; }

Property Value

IImage

See Also

Reference

Image Class
Avalonia.Controls Namespace