Creates CollectionElement objects for each item in a list.
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> FromList( IList source, Predicate<Node> childFilter ) |
Visual Basic (Declaration) |
---|
Public Shared Function FromList ( _ source As IList, _ childFilter As Predicate(Of Node) _ ) As IEnumerable(Of CollectionElement) |
Parameters
- source
- Type: System.Collections..::.IList
The list.
- childFilter
- Type: System..::.Predicate<(Of <(Node>)>)
A callback for determining whether to show descendant nodes.