ArcGIS Pro 2.6 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, Windows 7

See Also

Reference

LayoutView Class
LayoutView Members