All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

FileDialogBase.AddExtension Property

Gets or sets whether a dialog should automatically add an extension to a file name if a user omits the extension. This property is identical to the standard FileDialog.AddExtension property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraDialogs.v20.1.dll

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AddExtension { get; set; }
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property AddExtension As Boolean

Property Value

Type Default Description
Boolean

true

true, to automatically add an extension; otherwise, false.

Remarks

A user can omit a file extension when entering a file name:

addextension

Implements

DevExpress.Utils.CommonDialogs.IFileDialog.AddExtension
See Also