Table of Contents

Interface IDataTemplateHost

Namespace
Avalonia.Controls.Templates
Assembly
Avalonia.Controls.dll

Defines an element that has a DataTemplates collection.

[NotClientImplementable]
public interface IDataTemplateHost

Properties

DataTemplates

Gets the data templates for the element.

DataTemplates DataTemplates { get; }

Property Value

DataTemplates

IsDataTemplatesInitialized

Gets a value indicating whether DataTemplates is initialized.

bool IsDataTemplatesInitialized { get; }

Property Value

bool

Remarks

The DataTemplates property may be lazily initialized, if so this property indicates whether it has been initialized.