The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.GetSelectedCells() Method

Returns the selected data cells.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.2.dll


public IList<GridCell> GetSelectedCells()
Public Function GetSelectedCells As IList(Of GridCell)


Type Description

The list of GridCell objects that contain cell coordinates (row and column).


If multiple cell selection is disabled or there aren't any selected cells, the GetSelectedCells method returns an empty list. To enable block selection, set the DataControlBase.NavigationStyle property to GridControlNavigationStyle.Cell and set the DataControlBase.SelectionMode property to MultiSelectMode.Cell.

See Also