Summary
Builds a control for a piece of data.
- Namespace
- Avalonia
.Controls .Templates - Interfaces
- Base Types
-
- object
- FuncTemplate
<object, IControl>
- Derived Types
graph BT
Type-->Base0["FuncTemplate<object, IControl>"]
Base0-->Base1["object"]
Type-.->Interface0["IRecyclingDataTemplate"]
click Interface0 "/api/Avalonia.Controls.Templates/IRecyclingDataTemplate"
Type-.->Interface1["IDataTemplate"]
click Interface1 "/api/Avalonia.Controls.Templates/IDataTemplate"
Type-.->Interface2["ITemplate<object, IControl>"]
Type["FuncDataTemplate"]
class Type type-node
Derived0["FuncTreeDataTemplate"]-->Type
click Derived0 "/api/Avalonia.Controls.Templates/FuncTreeDataTemplate"
Derived1["FuncDataTemplate<T>"]-->Type
click Derived1 "/api/Avalonia.Controls.Templates/FuncDataTemplate_1"
Syntax
public class FuncDataTemplate : FuncTemplate<object, IControl>, IRecyclingDataTemplate,
IDataTemplate, ITemplate<object, IControl>
Constructors
Name | Summary |
---|---|
FuncDataTemplate |
Initializes a new instance of the FuncDataTemplate class.
|
FuncDataTemplate |
Initializes a new instance of the FuncDataTemplate class.
|
Fields
Name | Constant Value | Summary |
---|---|---|
Access |
The default data template used in the case where no matching data template is found
but
AccessText should be used.
static
|
|
Default |
The default data template used in the case where no matching data template is found.
static
|
Methods
Name | Value | Summary |
---|---|---|
Build |
IControl |
Creates or recycles a control to display the specified data.
|
Match |
bool |
Checks to see if this data template matches the specified data.
|