public class ActivateMapFrameEvent : ArcGIS.Core.Events.CompositePresentationEvent<ActivateMapFrameEventArgs>
Public Class ActivateMapFrameEvent Inherits ArcGIS.Core.Events.CompositePresentationEvent(Of ActivateMapFrameEventArgs)
public class ActivateMapFrameEvent : ArcGIS.Core.Events.CompositePresentationEvent<ActivateMapFrameEventArgs>
Public Class ActivateMapFrameEvent Inherits ArcGIS.Core.Events.CompositePresentationEvent(Of ActivateMapFrameEventArgs)
//Report the event args when a map frame is activated or deactivated. ArcGIS.Desktop.Layouts.Events.ActivateMapFrameEvent.Subscribe((args) => { System.Windows.MessageBox.Show("ActiveMapFrameEvent:" + Environment.NewLine + " arg IsActivated: " + args.IsActivated.ToString() + Environment.NewLine + " arg Layout: " + args.Layout.Name + Environment.NewLine + " arg MapFrame: " + args.MapFrame.Name); });
System.Object
ArcGIS.Core.Events.EventBase
ArcGIS.Core.Events.CompositePresentationEvent<TPayload>
ArcGIS.Desktop.Layouts.Events.ActivateMapFrameEvent
Target Platforms: Windows 10, Windows 8.1, Windows 7