DXFileDialog Members

Serves as a base class for the DevExpress file dialogs (DXSaveFileDialog and DXOpenFileDialog) and implements common file dialog functionality.

Constructors

Name Description
DXFileDialog() Initializes a new instance of the DXFileDialog class.

Properties

Name Description
AddExtension Gets or sets whether the file dialog automatically adds an extension to a file name if an end-user omits the extension.
AppendExtensionsToFilterDescriptions Gets or sets whether the file dialog should append affected extensions to filter descriptions.
AutoUpgradeEnabled For internal use only.
CheckFileExists Gets or sets whether the file dialog displays a warning if an end-user specifies a file name that does not exist.
CheckPathExists Gets or sets whether the file dialog displays a warning if an end-user specifies a path that does not exist.
CustomPlaces For internal use.
DefaultExt Gets or sets the default file name extension.
DereferenceLinks Gets or sets whether the dialog box returns the location of the file referenced by the shortcut or whether it returns the location of the shortcut (.lnk).
FileName Gets or sets a string containing the file name selected in the file dialog.
FileNames Gets the file names of all selected files in the file dialog.
Filter Gets or sets the current file name filter string, which determines the choices that appear in a file dialog.
FilterIndex Gets or sets the index of the currently selected filter in the file dialog.
InitialDirectory Gets or sets the initial directory displayed by the file dialog.
RestoreDirectory Gets or sets a value indicating whether the file dialog restores the current directory to the previously selected directory before closing.
ShowHelp Gets or sets a value indicating whether the Help button is displayed in the file dialog.
SupportMultiDottedExtensions Gets or sets whether the file dialog supports displaying and saving files that have multiple file name extensions.
Tag Gets or sets an object associated with the dialog. This provides the ability to attach an arbitrary object to the dialog. Inherited from CommonDialog.
Title Gets or sets the file dialog title.
ValidateNames Gets or sets whether the dialog box accepts only valid Win32 file names.

Methods

Name Description
CheckPermissionsToShowDialog() protected Determines whether sufficient permissions for displaying a dialog exist. Inherited from CommonDialog.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HookProc(IntPtr, Int32, IntPtr, IntPtr) protected Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box. Inherited from CommonDialog.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all properties to their default values.
ShowDialog() Displays a common dialog. Inherited from CommonDialog.
ShowDialog(Window) Displays a common dialog. Inherited from CommonDialog.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
FileOk Similar to the FileOk event.
HelpRequest Occurs when the user clicks the Help button on a file dialog and allows you to provide a help link or cancel opening help resources. Inherited from DXCommonDialog.
ShowDefaultDialog Fires when running DevExpress file dialogs in an unsupported OS (e.g. Windows XP). Inherited from DXCommonDialog.
See Also