FuncTreeDataTemplate.

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

Summary

Initializes a new instance of the FuncTreeDataTemplate class.

Syntax

public FuncTreeDataTemplate(Func<object, bool> match, Func<object, INameScope, IControl> build, Func<object, IEnumerable> itemsSelector)

Parameters

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

Return Value

Type Description
void