SaveFileDialog.CreatePrompt Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value indicating whether SaveFileDialog prompts the user for permission to create a file if the user specifies a file that does not exist.

Namespace:   Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)

member CreatePrompt : bool with get, set

Property Value

Type: System.Boolean

true if dialog should prompt prior to saving to a filename that did not previously exist; otherwise, false. The default is false.


to set this dialog option. Associated enumeration: AllWindows

.NET Framework
Available since 3.0
Return to top