DXFileDialog.AddExtension Property

Gets or sets whether the file dialog automatically adds an extension to a file name if an end-user omits the extension.

Namespace: DevExpress.Xpf.Dialogs

Assembly: DevExpress.Xpf.Dialogs.v20.1.dll

Declaration

public bool AddExtension { get; set; }
Public Property AddExtension As Boolean

Property Value

Type Description
Boolean

true, if the file dialog adds an extension to a file name if the user omits the extension; otherwise, false. The default value is true.

Remarks

The extension added to a file name depends on the currently selected file filter and the value of the DXFileDialog.CheckFileExists property.

Implements

DevExpress.Utils.CommonDialogs.IFileDialog.AddExtension
See Also