ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Page Class / HasError Property

HasError Property
Gets or sets a boolean notifying the application whether the page produced an error during commit. If any page errors, the property sheet will not close during commit.
Syntax
protected internal bool HasError {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.5 or higher.
See Also