This document is archived and information here might be outdated.  Recommended version.

IEditEvents.OnSelectionChanged Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditEvents Interface > IEditEvents.OnSelectionChanged Event
ArcGIS Developer Help

IEditEvents.OnSelectionChanged Event

Called when the selection changes.

[Visual Basic .NET]
Public Event OnSelectionChanged As OnSelectionChangedEventHandler
public event OnSelectionChangedEventHandler OnSelectionChanged

Product Availability

Available with ArcGIS Desktop.


Whenever the feature selection status changes during an edit session, the OnSelectionChanged event is fired.  Whenever the selection changes the location of the editor's SelectionAnchor is updated; if the AuxiliarySelectionAnchor is visible then its location is updated also.

See Also

IEditEvents Interface