Skip to main content

FileDialogBase.AddExtension Property

Gets or sets whether a dialog should automatically add an extension to a file name if a user omits the extension. This property is identical to the standard FileDialog.AddExtension property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraDialogs.v22.2.dll

NuGet Package: DevExpress.Win.Dialogs


public bool AddExtension { get; set; }

Property Value

Type Default Description
Boolean true

true, to automatically add an extension; otherwise, false.


A user can omit a file extension when entering a file name:


See Also