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.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

[Browsable(false)]
public bool ShowSelectionRectangle { get; set; }

Property Value

Type Description
Boolean

true to show the selection rectangle; otherwise, false.

Remarks

Important

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