Summary
A template used to build hierarchical data.
- Namespace
- Avalonia
.Controls .Templates - Interfaces
- Base Types
-
- object
- FuncTemplate
<object, IControl> - FuncDataTemplate
- FuncTreeDataTemplate
graph BT
Type-->Base0["FuncTreeDataTemplate"]
click Base0 "/api/Avalonia.Controls.Templates/FuncTreeDataTemplate"
Base0-->Base1["FuncDataTemplate"]
click Base1 "/api/Avalonia.Controls.Templates/FuncDataTemplate"
Base1-->Base2["FuncTemplate<object, IControl>"]
Base2-->Base3["object"]
Type-.->Interface0["IRecyclingDataTemplate"]
click Interface0 "/api/Avalonia.Controls.Templates/IRecyclingDataTemplate"
Type-.->Interface1["ITreeDataTemplate"]
click Interface1 "/api/Avalonia.Controls.Templates/ITreeDataTemplate"
Type-.->Interface2["IDataTemplate"]
click Interface2 "/api/Avalonia.Controls.Templates/IDataTemplate"
Type-.->Interface3["ITemplate<object, IControl>"]
Type["FuncTreeDataTemplate<T>"]
class Type type-node
Syntax
public class FuncTreeDataTemplate<T> : FuncTreeDataTemplate, IRecyclingDataTemplate,
ITreeDataTemplate, IDataTemplate, ITemplate<object, IControl>
Type Parameters
Name | Description |
---|---|
T | The type of the template's data. |
Constructors
Name | Summary |
---|---|
FuncTreeDataTemplate |
Initializes a new instance of the FuncTreeDataTemplate<T> class.
|
FuncTreeDataTemplate |
Initializes a new instance of the FuncTreeDataTemplate<T> 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.
Inherited from FuncDataTemplate
static
|
|
Default |
The default data template used in the case where no matching data template is found.
Inherited from FuncDataTemplate
static
|
Methods
Name | Value | Summary |
---|---|---|
Build |
IControl |
Creates or recycles a control to display the specified data.
Inherited from FuncDataTemplate
|
ItemsSelector |
InstancedBinding |
Selects the child items of an item.
Inherited from FuncTreeDataTemplate
|
Match |
bool |
Checks to see if this data template matches the specified data.
Inherited from FuncDataTemplate
|