Back to Devexpress

DXOpenFileDialog Members

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

latest10.1 KB
Original Source

DXOpenFileDialog Members

Represents a dialog box that allows end-users to specify a filename for one or more files to open.

Constructors

NameDescription
DXOpenFileDialog()Initializes a new instance of the DXOpenFileDialog 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. Inherited from DXFileDialog.
AppendExtensionsToFilterDescriptionsGets or sets whether the file dialog should append affected extensions to filter descriptions. Inherited from DXFileDialog.
AutoUpgradeEnabledFor internal use only. Inherited from DXFileDialog.
CheckFileExistsGets or sets whether the file dialog displays a warning if an end-user specifies a file name that does not exist. Inherited from DXFileDialog.
CheckPathExistsGets or sets whether the file dialog displays a warning if an end-user specifies a path that does not exist. Inherited from DXFileDialog.
CustomPlacesFor internal use. Inherited from DXFileDialog.
DefaultExtGets or sets the default file name extension. Inherited from DXFileDialog.
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). Inherited from DXFileDialog.
FileNameGets or sets a string containing the file name selected in the file dialog. Inherited from DXFileDialog.
FileNamesGets the file names of all selected files in the file dialog. Inherited from DXFileDialog.
FilterGets or sets the current file name filter string, which determines the choices that appear in a file dialog. Inherited from DXFileDialog.
FilterIndexGets or sets the index of the currently selected filter in the file dialog. Inherited from DXFileDialog.
InitialDirectoryGets or sets the initial directory displayed by the file dialog. Inherited from DXFileDialog.
MultiselectGets or sets whether end-users are allowed to select multiple files in the current DXOpenFileDialog.
OpenFileDialogModeGets or sets the mode in which the DXOpenFileDialog functions: selects files or selects folders.
ReadOnlyCheckedFor internal use only.
RestoreDirectoryGets or sets a value indicating whether the file dialog restores the current directory to the previously selected directory before closing. Inherited from DXFileDialog.
ShowHelpGets or sets a value indicating whether the Help button is displayed in the file dialog. Inherited from DXFileDialog.
ShowReadOnlyFor internal use only.
SupportMultiDottedExtensionsGets or sets whether the file dialog supports displaying and saving files that have multiple file name extensions. Inherited from DXFileDialog.
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. Inherited from DXFileDialog.
ValidateNamesGets or sets whether the dialog box accepts only valid Win32 file names. Inherited from DXFileDialog.

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. Inherited from DXFileDialog.
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

DXOpenFileDialog Class

DevExpress.Xpf.Dialogs Namespace