FuncTreeDataTemplate.

FuncTreeDataTemplate(Type, Func<object, INameScope, IControl>, Func<object, IEnumerable>) Constructor

Summary

Initializes a new instance of the FuncTreeDataTemplate class.

Syntax

public FuncTreeDataTemplate(Type type, Func<object, INameScope, IControl> build, Func<object, IEnumerable> itemsSelector)

Parameters

Name Type Description
type Type The type of data which the data template matches.
build Func<object, INameScope, IControl> A function which when passed an object of type returns a control.
itemsSelector Func<object, IEnumerable> A function which when passed an object of type returns the child items.

Return Value

Type Description
void