FuncTreeDataTemplate<T>.

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

Summary

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

Syntax

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

Parameters

Name Type Description
build Func<T, INameScope, Control> A function which when passed an object of T returns a control.
itemsSelector Func<T, IEnumerable> A function which when passed an object of T returns the child items.

Return Value

Type Description
void