ArcGIS Pro 2.7 API Reference Guide
IsEnabled Property (FrameworkApplication)

ArcGIS.Desktop.Framework Namespace > FrameworkApplication Class : IsEnabled Property
Gets or sets a value indicating whether the application's user interface is currently enabled.
Syntax
public static bool IsEnabled {get; set;}
Public Shared Property IsEnabled As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FrameworkApplication Class
FrameworkApplication Members