PromptOverwrite Property

Summary

Gets or sets a value that indicates whether display a a warning if the user specifies a file name that already exists

Syntax
C#
VB
C++
public bool PromptOverwrite { get; set; } 
  
Public Property PromptOverwrite As Boolean 
public: 
property bool PromptOverwrite { 
   bool get(); 
   void set (    bool value); 
} 

Property Value

true to have the Save dialog box display a warning if the user specifies a file name that already exists; otherwise, false.

Example

Refer to RasterSaveDialog example.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms.CommonDialogs.File Assembly