Version

SelectedKeysChanged Event (DataGridView)

Called when the selected keys change.
Syntax
public event GridSelectedKeysChangedEventHandler SelectedKeysChanged
Event Data

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

PropertyDescription
AddedKeys The keys added to the selection.
RemovedKeys The keys removed from the selection.
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