public class ElementStyleChangedEvent : ArcGIS.Core.Events.CompositePresentationEvent<ElementStyleChangedEventArgs>
Public Class ElementStyleChangedEvent Inherits ArcGIS.Core.Events.CompositePresentationEvent(Of ElementStyleChangedEventArgs)
public class ElementStyleChangedEvent : ArcGIS.Core.Events.CompositePresentationEvent<ElementStyleChangedEventArgs>
Public Class ElementStyleChangedEvent Inherits ArcGIS.Core.Events.CompositePresentationEvent(Of ElementStyleChangedEventArgs)
//Report the event args when an element's style is changed. ArcGIS.Desktop.Layouts.Events.ElementStyleChangedEvent.Subscribe((args) => { var elements = args.Elements; string elemNames = "null"; if (elements != null && elements.Count() > 0) { elemNames = string.Join(",", elements.Select(e => e.Name).ToList()); } System.Windows.MessageBox.Show("ElementStyleChangedEvent:" + Environment.NewLine + " arg Elements: " + elemNames.ToString() + Environment.NewLine + " arg Layout: " + args.Layout.Name); });
System.Object
ArcGIS.Core.Events.EventBase
ArcGIS.Core.Events.CompositePresentationEvent<TPayload>
ArcGIS.Desktop.Layouts.Events.ElementStyleChangedEvent
Target Platforms: Windows 10, Windows 8.1, Windows 7