Skip to main content

DiagramControl.ShowSelectionRectangle Property

Gets or sets whether to show the selection rectangle. This is a dependency property. Obsolete: use the PointerToolDragMode property instead.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v23.2.dll

NuGet Package: DevExpress.Wpf.Diagram


public bool ShowSelectionRectangle { get; set; }

Property Value

Type Description

true to show the selection rectangle; otherwise, false.



The ShowSelectionRectangle property is obsolete. Use the PointerToolDragMode property instead.

If the ShowSelectionRectangle property is set to false, users cannot select items on the canvas with the selection rectangle.

The DiagramControl.SelectPartiallyCoveredItems property specifies whether to select items that are only partially covered with the selection rectangle.

See Also