System.Windows.Forms.DataGrid.ResetSelection Method

Turns off selection for all rows that are selected.

Syntax

protected void ResetSelection ()

Remarks

Use this method with the DataGrid.IsSelected(int), DataGrid.Select(int), and DataGrid.UnSelect(int) methods to manipulate the selection state of a particular row.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0