FuncDataTemplateT Class

Builds a control for a piece of data of specified type.

Definition

Namespace: Avalonia.Controls.Templates
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public class FuncDataTemplate<T> : FuncDataTemplate
Inheritance
Object    FuncTemplateObject, Control    FuncDataTemplate    FuncDataTemplateT

Type Parameters

T
The type of the template's data.

Constructors

FuncDataTemplateT(FuncT, INameScope, Control, Boolean) Initializes a new instance of the FuncDataTemplateT class.
FuncDataTemplateT(FuncT, Boolean, FuncT, Control, Boolean) Initializes a new instance of the FuncDataTemplateT class.
FuncDataTemplateT(FuncT, Boolean, FuncT, INameScope, Control, Boolean) Initializes a new instance of the FuncDataTemplateT class.

Methods

Build(TParam) Creates the control.
(Inherited from FuncTemplateTParam, TControl)
Build(Object, Control) Creates or recycles a control to display the specified data.
(Inherited from FuncDataTemplate)
BuildWithNameScope(TParam)
(Inherited from FuncTemplateTParam, TControl)
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Match(Object) Checks to see if this data template matches the specified data.
(Inherited from FuncDataTemplate)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also