Version

ActiveCellChanged Event (DataGridView)

Called when the active cell changes.
Syntax
public event GridActiveCellChangedEventHandler ActiveCellChanged
Event Data

The event handler receives an argument of type GridActiveCellChangedEventArgs containing data related to this event. The following GridActiveCellChangedEventArgs properties provide information specific to this event.

PropertyDescription
NewActiveCell The new active cell.
OldActiveCell The old active cell.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also