ArcGIS Pro 2.9 API Reference Guide
HasError Property (Page)

ArcGIS.Desktop.Framework.Contracts Namespace > Page Class : 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;}
Protected Friend Property HasError As Boolean
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Page Class
Page Members