Skip to main content

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.v22.2.dll

NuGet Package: DevExpress.Wpf.Dialogs


public bool AddExtension { get; set; }

Property Value

Type Description

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.


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

See Also