ArcGIS Pro 2.7 API Reference Guide
Active Property (LayoutView)

ArcGIS.Desktop.Layouts Namespace > LayoutView Class : Active Property
Gets the active layout view.
Syntax
public static LayoutView Active {get;}
Public Shared ReadOnly Property Active As LayoutView
Remarks
Returns null if there is no active layout view.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayoutView Class
LayoutView Members