Skip to main content

Content Property

Gets or sets the content to display.

Definition​

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

[ContentAttribute]
[DependsOnAttribute("ContentTemplate")]
public Object? Content { get; set; }

Property Value​

Object

See Also​

Reference​

ContentControl Class
Avalonia.Controls Namespace