ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Editing.Events Namespace / RowChangedEventArgs Class
Members Example

In This Topic
    RowChangedEventArgs Class
    In This Topic
    Provides information about the changes that were made by a row event.
    Object Model
    RowChangedEventArgs ClassEditOperation ClassRow Class
    Syntax
    public sealed class RowChangedEventArgs 
    Public NotInheritable Class RowChangedEventArgs 
    Remarks
    Use the properties on this class to determine the type of row event and the row that was affected. The event could be either a create, change or delete.
    Example
    Subscribe to Row Events
    protected void SubscribeRowEvent()
    {
      QueuedTask.Run(() =>
      {
        //Listen for row events on a layer
        var featLayer = MapView.Active.GetSelectedLayers().First() as FeatureLayer;
        var layerTable = featLayer.GetTable();
    
        //subscribe to row events
        var rowCreateToken = RowCreatedEvent.Subscribe(OnRowCreated, layerTable);
        var rowChangeToken = RowChangedEvent.Subscribe(OnRowChanged, layerTable);
        var rowDeleteToken = RowDeletedEvent.Subscribe(OnRowDeleted, layerTable);
      });
    }
    
    protected void OnRowCreated(RowChangedEventArgs args)
    {
    }
    
    protected void OnRowChanged(RowChangedEventArgs args)
    {
    }
    
    protected void OnRowDeleted(RowChangedEventArgs args)
    {
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Editing.Events.RowChangedEventArgs

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also