Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Packages: DevExpress.Win.Dialogs, DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AddExtension { get; set; }

#Property Value

Type Default Description
Boolean true

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

#Remarks

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

addextension

See Also