ArcGIS Pro 2.9 API Reference Guide
MapSeriesEvent Class
Members  Example 

ArcGIS.Desktop.Layouts.Events Namespace : MapSeriesEvent Class
Occurs when the properties of a MapSeries are changed or pages are navigated.
Object Model
MapSeriesEvent ClassSubscriptionToken ClassSubscriptionToken Class
Syntax
Remarks
The Type property will return the MapSeriesType value. This allows you to identify if the map series properties were updated (Refreshed) or if a page was navigated (PageUpdated). Reference MapSeriesEventArgs to get a list of arguments.
Example
//Report the event args when the map series properties have changed.

ArcGIS.Desktop.Layouts.Events.MapSeriesEvent.Subscribe((args) =>
{
  System.Windows.MessageBox.Show("MapSeriesEvent:" +
  Environment.NewLine +
  "   arg CurrentPageName: " + args.CurrentPageName.ToString() +
  Environment.NewLine +
  "   arg CurrentlPageNumber: " + args.CurrentPageNumber.ToString() +
  Environment.NewLine +
  "   arg Layout: " + args.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.MapSeriesEvent

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

MapSeriesEvent Members
ArcGIS.Desktop.Layouts.Events Namespace