Skip to main content

DataTemplates Property

Gets or sets the data templates for the control.

Definition​

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

public DataTemplates DataTemplates { get; }

Property Value​

DataTemplates

Implements​

IDataTemplateHost.DataTemplates

Remarks​

Each control may define data templates which are applied to the control itself and its children.

See Also​

Reference​

Control Class
Avalonia.Controls Namespace