KAMISHIBAI
All Classes Namespaces Functions Properties
Properties | List of all members
OpenFileDialogContext Class Reference
Inheritance diagram for OpenFileDialogContext:
FileDialogContext

Properties

bool AllowNonFileSystemItems = false [get, set]
 Gets or sets a value that determines whether the user can select non-filesystem items, such as Library, Search Connectors, or Known Folders.
 
IEnumerable< string > FileNames = Array.Empty<string>() [get, set]
 Gets a collection of the selected file names. More...
 
bool IsFolderPicker [get, set]
 Gets or sets a value that determines whether the user can select folders or files. Default value is false.
 
bool Multiselect = false [get, set]
 Gets or sets a value that determines whether the user can select more than one file.
 
- Properties inherited from FileDialogContext
bool AddToMostRecentlyUsedList = true [get, set]
 Gets or sets a value that controls whether to show or hide the list of places where the user has recently opened or saved items. More...
 
bool AllowPropertyEditing = false [get, set]
 Gets or sets a value that controls whether properties can be edited. More...
 
Guid CookieIdentifier = Guid.Empty [get, set]
 Gets or sets a value that enables a calling application to associate a GUID with a dialog's persisted state.
 
string DefaultDirectory = string.Empty [get, set]
 Sets the folder and path used as a default if there is not a recently used folder value available.
 
string DefaultExtension = string.Empty [get, set]
 Gets or sets the default file extension to be added to file names. If the value is string.Empty, the extension is not added to the file names.
 
string DefaultFileName = string.Empty [get, set]
 Default file name.
 
virtual bool EnsureFileExists = true [get, set]
 Gets or sets a value that determines whether the file must exist beforehand. More...
 
bool EnsurePathExists = true [get, set]
 Gets or sets a value that specifies whether the returned file must be in an existing folder. More...
 
bool EnsureReadOnly = true [get, set]
 Gets or sets a value that determines whether read-only items are returned. Default value for CommonOpenFileDialog is true (allow read-only files) and CommonSaveFileDialog is false (don't allow read-only files). More...
 
bool EnsureValidNames = false [get, set]
 Gets or sets a value that determines whether to validate file names. More...
 
string FileName = string.Empty [get, set]
 Gets the selected filename. More...
 
IList< FileDialogFilter > Filters = new List<FileDialogFilter>() [get, set]
 Gets the filters used by the dialog.
 
string InitialDirectory = string.Empty [get, set]
 Gets or sets the initial directory displayed when the dialog is shown. A null or empty string indicates that the dialog is using the default directory. More...
 
bool NavigateToShortcut = true [get, set]
 
bool RestoreDirectory [get, set]
 Gets or sets a value that determines the restore directory. More...
 
bool ShowHiddenItems [get, set]
 
bool ShowPlacesList = true [get, set]
 Gets or sets a value that controls whether to show or hide the list of pinned places that the user can choose. More...
 
string Title = string.Empty [get, set]
 Gets or sets the dialog title. More...
 
IList< FileDialogCustomPlaceCustomPlaces = new List<FileDialogCustomPlace>() [get, set]
 An item in the "Place" section to add to the list of locations where users can open or save items.
 

Property Documentation

◆ FileNames

IEnumerable<string> OpenFileDialogContext.FileNames = Array.Empty<string>()
getset

Gets a collection of the selected file names.

This property should only be used when the OpenFileDialogContext.Multiselect property is true.


The documentation for this class was generated from the following file: