Skip to main content
A newer version of this page is available. .

CellContentPresenter.SelectionState Property

Gets a value that indicates the cell’s selection state. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public SelectionState SelectionState { get; set; }

Property Value

Type Description
SelectionState

A SelectionState enumeration value that specifies the cell’s selection state.

Available values:

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.

See Also