ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / EditingOptions Class / ShowDiscardEditsDialog Property

ShowDiscardEditsDialog Property
Gets and sets whether the dialog to confirm discard edits is displayed.
Syntax
public bool ShowDiscardEditsDialog {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.9 or higher.
See Also