Search code examples
c#modal-dialogopenfiledialog

C# OpenFileDialog Non-Modal possible


Is it possible to create/have a non-modal .net OpenFileDialog I have a UI element in the main dialog which always need to be available for the user to press.


Solution

  • No, OpenFileDialog and SaveFileDialog are both derived from FileDialog, which is inherently modal, so (as far as I know) there's no way of creating a non-modal version of either of them.