ArcGIS Pro 2.8 API Reference Guide
LayoutViewEvent Class
Members  Example 

ArcGIS.Desktop.Layouts.Events Namespace : LayoutViewEvent Class
Occurs when the LayoutView is initialized, activated or its extent is changed.
Object Model
LayoutViewEvent ClassSubscriptionToken ClassSubscriptionToken Class
Syntax
Remarks
Reference LayoutViewEventArgs to get a list of arguments.
Example
//Report the event args for the different types of layout view events.

ArcGIS.Desktop.Layouts.Events.LayoutViewEvent.Subscribe((args) =>
{
  System.Windows.MessageBox.Show("LayoutViewEvent:" +
  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.LayoutViewEvent

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayoutViewEvent Members
ArcGIS.Desktop.Layouts.Events Namespace