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 whether the selection action should be cancelled. |
CurrentColumn | Gets the column index of the cell that contains the mouse pointer. |
CurrentRow | Gets the row index of the cell that contains the mouse pointer. |
Range | Gets the range of cells encompassing the selection. |
View | Gets the view that contains the selection. |