Back to Devexpress

DXFileDialog Members

wpf-devexpress-dot-xpf-dot-dialogs-dot-dxfiledialog-dot-underscore-members.md

latest8.1 KB
Original Source

DXFileDialog Members

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

Constructors

NameDescription
DXFileDialog()Initializes a new instance of the DXFileDialog class.

Properties

NameDescription
AddExtensionGets or sets whether the file dialog automatically adds an extension to a file name if an end-user omits the extension.
AppendExtensionsToFilterDescriptionsGets or sets whether the file dialog should append affected extensions to filter descriptions.
AutoUpgradeEnabledFor internal use only.
CheckFileExistsGets or sets whether the file dialog displays a warning if an end-user specifies a file name that does not exist.
CheckPathExistsGets or sets whether the file dialog displays a warning if an end-user specifies a path that does not exist.
CustomPlacesFor internal use.
DefaultExtGets or sets the default file name extension.
DereferenceLinksGets 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).
FileNameGets or sets a string containing the file name selected in the file dialog.
FileNamesGets the file names of all selected files in the file dialog.
FilterGets or sets the current file name filter string, which determines the choices that appear in a file dialog.
FilterIndexGets or sets the index of the currently selected filter in the file dialog.
InitialDirectoryGets or sets the initial directory displayed by the file dialog.
RestoreDirectoryGets or sets a value indicating whether the file dialog restores the current directory to the previously selected directory before closing.
ShowHelpGets or sets a value indicating whether the Help button is displayed in the file dialog.
SupportMultiDottedExtensionsGets or sets whether the file dialog supports displaying and saving files that have multiple file name extensions.
TagGets or sets an object associated with the dialog. This provides the ability to attach an arbitrary object to the dialog. Inherited from CommonDialog.
TitleGets or sets the file dialog title.
ValidateNamesGets or sets whether the dialog box accepts only valid Win32 file names.

Methods

NameDescription
CheckPermissionsToShowDialog() protectedDetermines whether sufficient permissions for displaying a dialog exist. Inherited from CommonDialog.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. 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) protectedDefines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box. Inherited from CommonDialog.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
FileOkSimilar to the FileOk event.
HelpRequestOccurs 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.
ShowDefaultDialogFires when running DevExpress file dialogs in an unsupported OS (e.g. Windows XP). Inherited from DXCommonDialog.

See Also

DXFileDialog Class

DevExpress.Xpf.Dialogs Namespace