Skip to main content

SaveFileDialogService.OverwritePrompt Property

Gets or sets a value indicating whether the Save As dialog box displays a warning if the user specifies a file name that already exists.

Namespace: DevExpress.Mvvm.UI

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool OverwritePrompt { get; set; }

Property Value

Type Description
Boolean

true if the dialog box prompts the user before overwriting an existing file; false if the dialog box automatically overwrites the existing file without prompting the user for permission. The default value is true.

Remarks

To learn more, see SaveFileDialogService.

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