CommonFileDialog Properties

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

The CommonFileDialog type exposes the following members.

Properties

  NameDescription
AddExtension
Gets or sets a value that determines whether the file extension set via the DefaultExtension property is appended to the file name.
AddToMruList
Gets or sets a value that controls whether to show or hide the list of places from which the user has recently opened or saved items.
AllowPropertyEditing
Gets or sets a value that controls whether properties can be edited.
CheckFileExists
Gets or sets a value to specify whether the file returned must exist.
CheckPathExists
Gets or sets a value to specify whether the file returned must be in an existing folder.
CheckReadOnly
Gets or sets a value that determines whether read-only items are returned.
CheckValidNames
Gets or sets a value that controls validation of file names.
Controls
Gets the collection of controls for the dialog.
DefaultExtension
Gets or sets the default file extension to be added to file names.
DereferenceLinks
Gets or sets a value that controls whether shortcuts should be treated as their target items, allowing an application to open a .lnk file.
FileName
Gets the selected filename.
Filters
Gets the filters used by the dialog.
InitialDirectory
Gets or sets the initial directory displayed when the dialog is shown.
RestoreDirectory
Corresponds to the FOS_NOCHANGEDIR file dialog option.
ShowHiddenItems
Gets or sets a value that controls whether to show hidden items.
ShowPlacesList
Gets or sets a value that controls whether to show or hide the list of pinned places that the user can choose from.
Title
Gets or sets the dialog title.
UsageIdentifier
Gets or sets a value that enables a calling application to associate a GUID with a dialog's persisted state.

See Also