FuncTreeDataTemplateT(FuncT, INameScope, Control, FuncT, IEnumerable) Constructor
Namespace: Avalonia.Controls.TemplatesAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public FuncTreeDataTemplate(
Func<T, INameScope, Control> build,
Func<T, IEnumerable> itemsSelector
)
Public Sub New (
build As Func(Of T, INameScope, Control),
itemsSelector As Func(Of T, IEnumerable)
)
new :
build : Func<'T, INameScope, Control> *
itemsSelector : Func<'T, IEnumerable> -> FuncTreeDataTemplate
Parameters
- build FuncT, INameScope, Control
-
A function which when passed an object of T returns a control.
- itemsSelector FuncT, IEnumerable
-
A function which when passed an object of T returns the child
items.