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.v21.1.dll

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