ArcGIS Pro 2.8 API Reference Guide
ActiveLayoutViewChangedEvent Class
Members  Example 

ArcGIS.Desktop.Layouts.Events Namespace : ActiveLayoutViewChangedEvent Class
Occurs when the active LayoutView has changed.
Object Model
ActiveLayoutViewChangedEvent ClassSubscriptionToken ClassSubscriptionToken Class
Syntax
Remarks
Reference LayoutViewEventArgs to get a list of arguments.
Example
//Report the event args when a the layout view has changed.

ArcGIS.Desktop.Layouts.Events.ActiveLayoutViewChangedEvent.Subscribe((args) =>
{
  System.Windows.MessageBox.Show("ActiveLayoutViewChangedEvent:" +
    Environment.NewLine +
    "   arg Layoutview: " + args.LayoutView.Layout.Name +
    Environment.NewLine +
    "   arg Type: " + args.Type.ToString());
});
Inheritance Hierarchy

System.Object
   ArcGIS.Core.Events.EventBase
      ArcGIS.Core.Events.CompositePresentationEvent<TPayload>
         ArcGIS.Desktop.Layouts.Events.ActiveLayoutViewChangedEvent

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ActiveLayoutViewChangedEvent Members
ArcGIS.Desktop.Layouts.Events Namespace