Skip to content

Expose some Events of FolderBrowserDialog to match WindowsAPICodePack CommonOpenFileDialog #12799

Description

@Aniobodo

Event exposure will make it possible to customize the behavior of the dialog.
Of particular interest here are the already public events of CommonOpenFileDialog. This will make it possible to migrate from CommonOpenFileDialog to FolderBrowserDialog without any breaking-change of behavior.

A particular example is FolderChanging event, which can be cancelled to stop the user from navigation to subfolders; thereby enforcing that the user make the folder selection only from the folders displayed in the InitialDirectory.

Expose some Events of FolderBrowserDialog to match WindowsAPICodePack CommonOpenFileDialog

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api-suggestion(1) Early API idea and discussion, it is NOT ready for implementation

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions