IDataTemplate Interface

Summary

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

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.