FuncTreeDataTemplateT(FuncT, Boolean, FuncT, INameScope, Control, FuncT, IEnumerable) Constructor

Initializes a new instance of the FuncTreeDataTemplateT class.

Definition

Namespace: Avalonia.Controls.Templates
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public FuncTreeDataTemplate(
	Func<T, bool> match,
	Func<T, INameScope, Control> build,
	Func<T, IEnumerable> itemsSelector
)

Parameters

match  FuncT, Boolean
A function which determines whether the data template matches the specified data.
build  FuncT, INameScope, Control
A function which when passed a matching object returns a control.
itemsSelector  FuncT, IEnumerable
A function which when passed a matching object returns the child items.

See Also