Back to Devexpress

DXFileDialog.AddExtension Property

wpf-devexpress-dot-xpf-dot-dialogs-dot-dxfiledialog-1097bb33.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Dialogs

Declaration

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

Property Value

TypeDescription
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

DefaultExt

SupportMultiDottedExtensions

Filter

DXFileDialog Class

DXFileDialog Members

DevExpress.Xpf.Dialogs Namespace