Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TableView.UnselectCell(Int32, GridColumn) Method

Unselects the specified cell.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public void UnselectCell(
    int rowHandle,
    GridColumn column
)

#Parameters

Name Type Description
rowHandle Int32

An integer value that specifies the handle of the row, containing the cell.

column GridColumn

A GridColumn object that represents the column, containing the cell.

#Remarks

Use the UnselectCell method to unselect individual cells, preserving the existing selection (if any). To select a cell, use the TableView.SelectCell method.

To learn more on multi-cell selection, see Multiple Cell Selection.

See Also