Skip to content

Expose some Events of FolderBrowserDialog to match WindowsAPICodePack CommonOpenFileDialog #12799

@Aniobodo

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

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