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
Declaration
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:
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddExtension property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.