FuncTreeDataTemplate<T> Class
Definition
A template used to build hierarchical data.
public class FuncTreeDataTemplate<T>
Constructors
| Name | Description |
|---|---|
| FuncTreeDataTemplate<T> (2 overloads) | No summary available. |
FuncTreeDataTemplate<T> overloads
FuncTreeDataTemplate<T> Constructor
public FuncTreeDataTemplate<T>(Func<T, bool> match, Func<T, Avalonia.Controls.INameScope, Avalonia.Controls.Control> build, Func<T, System.Collections.IEnumerable> itemsSelector)
Parameters
match Func<T, bool>
build Func<T, Avalonia.Controls.INameScope, Avalonia.Controls.Control>
itemsSelector Func<T, System.Collections.IEnumerable>
FuncTreeDataTemplate<T> Constructor
public FuncTreeDataTemplate<T>(Func<T, Avalonia.Controls.INameScope, Avalonia.Controls.Control> build, Func<T, System.Collections.IEnumerable> itemsSelector)
Parameters
build Func<T, Avalonia.Controls.INameScope, Avalonia.Controls.Control>
itemsSelector Func<T, System.Collections.IEnumerable>
Methods
| Name | Description |
|---|---|
| BindChildren | Inherited from FuncTreeDataTemplate. |
| Build | Creates or recycles a control to display the specified data. Inherited from FuncDataTemplate. |
| Match | Checks to see if this data template matches the specified data. Inherited from FuncDataTemplate. |
Fields
| Name | Description |
|---|---|
| Access | The default data template used in the case where no matching data template is found but Avalonia.Controls.Primitives.AccessText should be used. Inherited from FuncDataTemplate. |
| Default | The default data template used in the case where no matching data template is found. Inherited from FuncDataTemplate. |