ArcGIS Pro 2.6 API Reference Guide
HasError Property

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 10, Windows 8.1, Windows 7

See Also

Reference

Page Class
Page Members