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

NuGet Package: DevExpress.Wpf.Dialogs

Declaration

public bool AddExtension { get; set; }

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.

See Also