Public Property CanClose As Boolean
public bool CanClose {get; set;}
Property Value
A nullable
System.Boolean that indicates whether the window may be closed.
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)
ArcGIS Pro version: 3.4 or higher.