Skip to main content
A newer version of this page is available. .
All docs
V22.2

DialogParameters Members

Contains parameters that allow you to set up the dialog invoked from the BrowsePathEdit editor.

Constructors

Name Description
DialogParameters(DialogType) Initializes a new instance of the DialogParameters class with specified settings.

Properties

Name Description
AddExtension Gets or sets whether to add an extension (specified by the DialogParameters.DefaultExt or BrowsePathEdit.Filter property) to the file name.
AutoUpgradeEnabled
CheckFileExists Gets or sets whether to display a warning if a user specifies a file that does not exist.
CheckPathExists Gets or sets whether to display a warning if a user specifies a path that does not exist.
ClientGuid Gets or sets the GUID associated with the dialog state.
CreatePrompt Gets or sets whether to prompt a user for permission to create a file if a user specifies a file that does not exist.
DefaultExt Gets or sets the default file extension.
DereferenceLinks Gets or sets whether the dialog returns the location of the file referenced by a shortcut or whether it returns the shortcut’s location.
Description Gets or sets the text displayed in the browse folder dialog.
DialogType Gets the dialog’s type.
FileName Gets or sets the file name displayed in the dialog.
FilterIndex Gets or sets the selected dialog filter’s index.
InitialDirectory Gets or sets the dialog’s initial directory.
OverwritePrompt Gets or sets whether to prompt a user for permission to overwrite a file if a user specifies a file that already exists.
ReadOnlyChecked Gets or sets whether the Open as read-only check box is checked.
RootFolder Gets or sets the browse folder dialog’s root folder.
SelectedPath Gets or sets the path selected in the browse folder dialog.
ShowHelp Gets or sets whether to display the Help button.
ShowNewFolderButton Gets or sets whether to display the Make New Folder button in the browse folder dialog.
ShowReadOnly Gets or sets whether to display the Open as read-only check box.
SupportMultiDottedExtensions Gets or sets whether the dialog supports operations with files that have multiple extensions.
Title Gets or sets the dialog window’s title.
UseDescriptionForTitle Gets or sets whether to use the Description property value as the dialog’s title.
ValidateNames Gets or sets whether to display a warning when a user enters an invalid Win32 file name.

Methods

Name Description
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.
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.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also