Summary
Initializes a new instance of the
FuncTreeDataTemplate<T>
class.
- Namespace
- Avalonia
.Controls .Templates - Containing Type
- FuncTreeDataTemplate
<T>
Syntax
public FuncTreeDataTemplate(Func<T, bool> match, Func<T, INameScope, Control> build, Func<T, IEnumerable> itemsSelector)
Parameters
Name | Type | Description |
---|---|---|
match | Func |
A function which determines whether the data template matches the specified data. |
build | Func |
A function which when passed a matching object returns a control. |
itemsSelector | Func |
A function which when passed a matching object returns the child items. |
Return Value
Type | Description |
---|---|
void |