Summary
Gets or sets the content to display.
- Namespace
- Avalonia
.Controls - Containing Type
- ContentControl
Syntax
[Content]
[DependsOn(nameof(ContentTemplate))]
public object Content { get; set; }
Attributes
Type | Description |
---|---|
ContentAttribute | Defines the property that contains the object's content in markup. |
DependsOnAttribute | Indicates that the property depends on the value of another property in markup. |
Value
Type | Description |
---|---|
object |