Creates CollectionElement objects for each item in a dictionary.

Namespace:  Mindscape.WpfElements.WpfPropertyGrid
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public static IEnumerable<CollectionElement> FromDictionary(
	IDictionary source,
	Predicate<Node> childFilter
)
Visual Basic (Declaration)
Public Shared Function FromDictionary ( _
	source As IDictionary, _
	childFilter As Predicate(Of Node) _
) As IEnumerable(Of CollectionElement)

Parameters

source
Type: System.Collections..::.IDictionary
The dictionary.
childFilter
Type: System..::.Predicate<(Of <(Node>)>)
A callback for determining whether to show descendant nodes.

Return Value

A CollectionElement for each item in the dictionary.

See Also