Search code examples
c#openfiledialog

FileDialog.Filter Property show all except a specific format


I want to have a filter in FileDialog.Filter Property in a way that it shows all file endings except the ones I want. Is this possible?


Solution

  • Short answer: No, it is not possible.

    -- Edit --

    Long answer: No, it is not possible because format of this property is predefined (and checked) as described in comments here (or here, if you are on WinFroms).