Skip to main content

DataViewBase.ShowSelectionRectangle Property

Specifies whether to enable the selection rectangle feature. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool ShowSelectionRectangle { get; set; }

Property Value

Type Description
Boolean

true to enable the selection rectangle feature; otherwise, false.

Remarks

The ShowSelectionRectangle property does not function in GridControl if SelectionMode is set to MultipleRow.

To enable the selection rectangle feature, set the ShowSelectionRectangle property to true and the SelectionMode property to Row or Cell.

See Also