Method FileOpenSaveDialog.ShowOpen(+ 1 overload)
Overload
Shows "Open" or "Select Folder" dialog that allows to select single item.
public bool ShowOpen(out string result, AnyWnd owner = default, bool selectFolder = false, bool onlyFilesystem = true, bool fileMustExist = true, bool previewPane = false)
Parameters
result (string)
Full path of the selected file. |
owner (AnyWnd)
Owner window. Optional. |
selectFolder (bool)
Select folders, not files. |
onlyFilesystem (bool)
The dialog allows to select only file system items (files, folders), not other shell items or URLs. Default |
fileMustExist (bool)
The dialog can return only existing items. Default |
previewPane (bool)
Display the preview pane. |
Returns
bool
|
Overload(top)
Shows "Open" or "Select Folder" dialog that allows to select multiple items.
public bool ShowOpen(out string[] result, AnyWnd owner = default, bool selectFolder = false, bool onlyFilesystem = true, bool fileMustExist = true, bool previewPane = false)
Parameters
result (string[])
Full paths of the selected files. |
owner (AnyWnd)
Owner window. Optional. |
selectFolder (bool)
Select folders, not files. |
onlyFilesystem (bool)
The dialog allows to select only file system items (files, folders), not other shell items or URLs. Default |
fileMustExist (bool)
The dialog can return only existing items. Default |
previewPane (bool)
Display the preview pane. |
Returns
bool
|