Fires when ActiveRowIndex or ActiveColumnIndex is going to be changed.
The event handler receives an argument of type SelectionChangingEventArgs containing data related to this event. The following SelectionChangingEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | Gets or sets a value indicating whether the event should be canceled. |
| NewActiveColumnIndex | Returns an index of a column that is going to be active. |
| NewActiveRowIndex | Returns an index of a row that is going to be active. |
| OldActiveColumnIndex | Returns an index of a column that is now active. |
| OldActiveRowIndex | Returns an index of a row that is now active. |
Event is cancellable, to cancel selection, set e.Cancel = true;
SmartGrid Class | Resco.Controls.SmartGrid Namespace