Skip to main content

ItemTemplate Property

Gets or sets the data template used to display the items in the control.

Definition

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

[InheritDataTypeFromItemsAttribute("ItemsSource")]
public IDataTemplate? ItemTemplate { get; set; }

Property Value

IDataTemplate

See Also

Reference

ItemsControl Class
Avalonia.Controls Namespace