ITemplate<TParam, TControl> Interface

Summary

Creates a control based on a parameter.
graph BT Type["ITemplate<TParam, TControl>"] class Type type-node Implementing0["FuncTreeDataTemplate"]-.->Type click Implementing0 "/api/Avalonia.Controls.Templates/FuncTreeDataTemplate" Implementing1["IControlTemplate"]-.->Type click Implementing1 "/api/Avalonia.Controls.Templates/IControlTemplate" Implementing2["FuncTreeDataTemplate<T>"]-.->Type click Implementing2 "/api/Avalonia.Controls.Templates/FuncTreeDataTemplate_1" Implementing3["FuncDataTemplate"]-.->Type click Implementing3 "/api/Avalonia.Controls.Templates/FuncDataTemplate" Implementing4["ControlTemplate"]-.->Type click Implementing4 "/api/Avalonia.Markup.Xaml.Templates/ControlTemplate" Implementing5["IDataTemplate"]-.->Type click Implementing5 "/api/Avalonia.Controls.Templates/IDataTemplate" Implementing6["TreeDataTemplate"]-.->Type click Implementing6 "/api/Avalonia.Markup.Xaml.Templates/TreeDataTemplate" Implementing7["FuncControlTemplate<T>"]-.->Type click Implementing7 "/api/Avalonia.Controls.Templates/FuncControlTemplate_1" Implementing8["RecyclingElementFactory"]-.->Type click Implementing8 "/api/Avalonia.Controls/RecyclingElementFactory" Implementing9["DataTemplate"]-.->Type click Implementing9 "/api/Avalonia.Markup.Xaml.Templates/DataTemplate" Implementing10["ElementFactory"]-.->Type click Implementing10 "/api/Avalonia.Controls/ElementFactory" Implementing11["IRecyclingDataTemplate"]-.->Type click Implementing11 "/api/Avalonia.Controls.Templates/IRecyclingDataTemplate" Implementing12["FuncTemplate<TParam, TControl>"]-.->Type click Implementing12 "/api/Avalonia.Controls.Templates/FuncTemplate_2" Implementing13["FuncDataTemplate<T>"]-.->Type click Implementing13 "/api/Avalonia.Controls.Templates/FuncDataTemplate_1" Implementing14["ITreeDataTemplate"]-.->Type click Implementing14 "/api/Avalonia.Controls.Templates/ITreeDataTemplate" Implementing15["FuncControlTemplate"]-.->Type click Implementing15 "/api/Avalonia.Controls.Templates/FuncControlTemplate" Implementing16["IElementFactory"]-.->Type click Implementing16 "/api/Avalonia.Controls/IElementFactory"

Syntax

public interface ITemplate<TParam, TControl>

Type Parameters

Name Description
TParam The type of the parameter.
TControl The type of control.

Methods

Name Value Summary
Build(TParam) TControl
Creates the control.