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

SelectionState Enum

Lists values that specify a cell’s (or row’s) selection state.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public enum SelectionState

#Members

Name Description
None

A cell (or row) isn’t focused and selected.

Focused

A cell (or row) is focused.

Selected

A cell (or row) is selected.

FocusedAndSelected

A cell is focused and selected.

CellMerge

A cell (or row) isn’t focused and selected, and the cell merging feature is enabled (the TableView.AllowCellMerge property is set to true).

Highlighted

A cell (or row) is highlighted.

#Remarks

The values listed by this enumeration are used to set the GridCellData.SelectionState, LightweightCellEditor.SelectionState and RowData.SelectionState properties.

See Also