spiegelp / MaterialDesignExtensions

Material Design Extensions is based on Material Design in XAML Toolkit to provide additional controls and features for WPF apps
https://spiegelp.github.io/MaterialDesignExtensions/
MIT License
767 stars 123 forks source link

Extension proposal for OpenDirectoryDialogArguments #114

Open wdefender opened 4 years ago

wdefender commented 4 years ago

Hi, it would be nice to have a way to disable the Select button when OpenDirectoryDialogs current selected folder does not contain files matching specified file extensions (e.g. allow to open only folders which contain zip files). It coud be done using an additional OpenDirectoryDialogArgument - a collection of strings, with the default value "*.*".