System.Windows.Forms.DataGrid.UnSelect Method

Unselects a specified row.

Syntax

public void UnSelect (int row)

Parameters

row
The index of the row to deselect.

Remarks

Use this method with the DataGrid.IsSelected(int), DataGrid.Select(int), and DataGrid.ResetSelection 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