Creates CollectionElement objects for each item in a dictionary.
Namespace:
Mindscape.WpfPropertyGridAssembly: Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.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.