Skip to content

Support filtering in TreeView #2601

@tznind

Description

@tznind

Is your feature request related to a problem? Please describe.
Filtering a tree view means not just hiding/showing branches but also considering parents/children that match the filter. This makes most sense as a core library feature on the view rather than a hacky 'add on' that could be applied by the tree builder.

This will be handy for:
PowerShell/ConsoleGuiTools#179

Since v2 release seems quite far off and will likely take a while to be stable I think it makes sense for this to be in v1 and v2.

Describe the solution you'd like
Ability to add a filter to a TreeView to show only branches that match given criteria

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions