Skip to main content

XtraSaveFileDialog.OverwritePrompt Property

Gets or sets whether or not this XtraSaveFileDialog should warn users when they try to save a file under an already existing name.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraDialogs.v24.1.dll

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

Declaration

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

Property Value

Type Default Description
Boolean true

true to display a warning, false to overwrite old files without confirmation.

Remarks

Refer to the following help topic for more information: OverwritePrompt.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OverwritePrompt 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.

See Also