Creates CollectionElement objects for each item in a collection.
Namespace:
Mindscape.WpfElements.WpfPropertyGridAssembly: Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)
Syntax
C# |
---|
public static IEnumerable<CollectionElement> GetCollectionElements( Object source, Predicate<Node> childFilter ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetCollectionElements ( _ source As Object, _ childFilter As Predicate(Of Node) _ ) As IEnumerable(Of CollectionElement) |
Parameters
- source
- Type: System..::.Object
The source collection - a list or dictionary.
- childFilter
- Type: System..::.Predicate<(Of <(Node>)>)
A callback for determining whether to show descendant nodes.