The event handler receives an argument of type GridChangedEventArgs containing data related to this event. The following GridChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
c1 | Gets the range's first column index. |
c2 | Gets the range's last column index. |
GridChangedType | The type of action that caused the event to fire. |
r1 | Gets the range's first row index. |
r2 | Gets the range's last row index. |
This is a general event that fires before more specific events. For example, if the user drags a column with the mouse, the control fires the BeforeDragColumn, GridChanged, and AfterDragColumn events.
The GridChanged event allows you to create a centralized handler for all types of grid events. It does not provide detailed arguments for every event, nor the option of canceling user actions.