You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

DiagramControl.ShowSelectionRectangle Property

Gets or sets whether to show the selection rectangle. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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


public bool ShowSelectionRectangle { get; set; }
Public Property ShowSelectionRectangle As Boolean

Property Value

Type Description

true to show the selection rectangle; otherwise, false.


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

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


See Also