DataTemplate.

Content Property

Namespace
Avalonia.Markup.Xaml.Templates
Containing Type
DataTemplate

Syntax

[Content]
[TemplateContent]
public object Content { get; set; }

Attributes

Type Description
ContentAttribute Defines the property that contains the object's content in markup.
TemplateContentAttribute Defines the property that contains the object's content in markup.

Value

Type Description
object