ArcGIS Pro 2.7 API Reference Guide
ElementsPlacementChangedEvent Class
Members  Example 

ArcGIS.Desktop.Layouts.Events Namespace : ElementsPlacementChangedEvent Class
Occurs when an Element's placement properties are changed.
Object Model
ElementsPlacementChangedEvent ClassSubscriptionToken ClassSubscriptionToken Class
Syntax
Remarks
Reference ElementsUpdatedEventArgs to get a list of arguments.
Example
//Report the event args when an element's placement properties are changed.

ArcGIS.Desktop.Layouts.Events.ElementsPlacementChangedEvent.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("ElementsPlacementChangedEvent:" +
  Environment.NewLine +
  "   arg Elements: " + elemNames.ToString() +
  Environment.NewLine +
  "   arg Layout: " + args.Layout.Name);
});
Inheritance Hierarchy

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

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ElementsPlacementChangedEvent Members
ArcGIS.Desktop.Layouts.Events Namespace