IDataTemplate Interface

Summary

Interface representing a template used to build a control for a piece of data.
graph TD Interface0["ITemplate<object, IControl>"]-.->Type Type["IDataTemplate"] class Type type-node Type-.->Implementing0["FuncDataTemplate<T>"] click Implementing0 "/api/Avalonia.Controls.Templates/FuncDataTemplate_1" Type-.->Implementing1["FuncTreeDataTemplate<T>"] click Implementing1 "/api/Avalonia.Controls.Templates/FuncTreeDataTemplate_1" Type-.->Implementing2["ITreeDataTemplate"] click Implementing2 "/api/Avalonia.Controls.Templates/ITreeDataTemplate" Type-.->Implementing3["FuncTreeDataTemplate"] click Implementing3 "/api/Avalonia.Controls.Templates/FuncTreeDataTemplate" Type-.->Implementing4["ViewLocator<TViewModel>"] click Implementing4 "/api/Avalonia.Diagnostics/ViewLocator_1" Type-.->Implementing5["TreeDataTemplate"] click Implementing5 "/api/Avalonia.Markup.Xaml.Templates/TreeDataTemplate" Type-.->Implementing6["FuncDataTemplate"] click Implementing6 "/api/Avalonia.Controls.Templates/FuncDataTemplate" Type-.->Implementing7["DataTemplate"] click Implementing7 "/api/Avalonia.Markup.Xaml.Templates/DataTemplate"

Syntax

public interface IDataTemplate : ITemplate<object, IControl>

Properties

Name Value Summary
SupportsRecycling bool
Gets a value indicating whether the data template supports recycling of the generated control.

Methods

Name Value Summary
Match(object) bool
Checks to see if this data template matches the specified data.