FuncTreeDataTemplate<T>.

FuncTreeDataTemplate(Func<T, bool>, Func<T, INameScope, Control>, Func<T, IEnumerable>) Constructor

Summary

Initializes a new instance of the FuncTreeDataTemplate<T> class.

Syntax

public FuncTreeDataTemplate(Func<T, bool> match, Func<T, INameScope, Control> build, Func<T, IEnumerable> itemsSelector)

Parameters

Name Type Description
match Func<T, bool> A function which determines whether the data template matches the specified data.
build Func<T, INameScope, Control> A function which when passed a matching object returns a control.
itemsSelector Func<T, IEnumerable> A function which when passed a matching object returns the child items.

Return Value

Type Description
void