public enum PromptTypePublic Enumeration PromptTypeWhen OpenSaveDialog is in mode Files, then user can select just files not folder. If user attempts to select folder in this mode, OpenSaveDialog will return empty strings.
In mode Folders, there are no files displayed in the file list. User can select just folder.
FilesAndFolders is mixture of the two above. When user clicks on the select button, OpenSaveDialog will return path and name of that folder. When user click on the select button when file is selecte, then OpenSaveDialog will return name of the file and full path with file name.
| Files | 1 | OpenSaveDialog only prompts for files. |
| Folders | 2 | OpenSaveDialog only prompts for folders. |
| FilesAndFolders | 3 | OpenSaveDialog prompts for files and folders. |