Skip to main content

DXOpenFileDialog Members

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

Constructors

Name Description
DXOpenFileDialog() Initializes a new instance of the DXOpenFileDialog 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. Inherited from DXFileDialog.
AppendExtensionsToFilterDescriptions Gets or sets whether the file dialog should append affected extensions to filter descriptions. Inherited from DXFileDialog.
AutoUpgradeEnabled For internal use only. Inherited from DXFileDialog.
CheckFileExists Gets or sets whether the file dialog displays a warning if an end-user specifies a file name that does not exist. Inherited from DXFileDialog.
CheckPathExists Gets or sets whether the file dialog displays a warning if an end-user specifies a path that does not exist. Inherited from DXFileDialog.
CustomPlaces For internal use. Inherited from DXFileDialog.
DefaultExt Gets or sets the default file name extension. Inherited from DXFileDialog.
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). Inherited from DXFileDialog.
FileName Gets or sets a string containing the file name selected in the file dialog. Inherited from DXFileDialog.
FileNames Gets the file names of all selected files in the file dialog. Inherited from DXFileDialog.
Filter Gets or sets the current file name filter string, which determines the choices that appear in a file dialog. Inherited from DXFileDialog.
FilterIndex Gets or sets the index of the currently selected filter in the file dialog. Inherited from DXFileDialog.
InitialDirectory Gets or sets the initial directory displayed by the file dialog. Inherited from DXFileDialog.
Multiselect Gets or sets whether end-users are allowed to select multiple files in the current DXOpenFileDialog.
OpenFileDialogMode Gets or sets the mode in which the DXOpenFileDialog functions: selects files or selects folders.
ReadOnlyChecked For internal use only.
RestoreDirectory Gets or sets a value indicating whether the file dialog restores the current directory to the previously selected directory before closing. Inherited from DXFileDialog.
ShowHelp Gets or sets a value indicating whether the Help button is displayed in the file dialog. Inherited from DXFileDialog.
ShowReadOnly For internal use only.
SupportMultiDottedExtensions Gets or sets whether the file dialog supports displaying and saving files that have multiple file name extensions. Inherited from DXFileDialog.
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. Inherited from DXFileDialog.
ValidateNames Gets or sets whether the dialog box accepts only valid Win32 file names. Inherited from DXFileDialog.

Methods

Name Description
CheckPermissionsToShowDialog() protected Determines whether sufficient permissions for displaying a dialog exist. Inherited from CommonDialog.
Equals(Object, Object) static Determines 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) 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. Inherited from DXFileDialog.
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