DiagramOptionsBehavior.ShowSelectionRectangle Property

Gets or sets whether to show the selection rectangle.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DefaultValue(true)]
[Browsable(false)]
public virtual bool ShowSelectionRectangle { get; set; }
<DefaultValue(True)>
<Browsable(False)>
Public Overridable Property ShowSelectionRectangle As Boolean

Property Value

Type Default Description
Boolean

true

true to show the selection rectangle; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowSelectionRectangle
DiagramControl
.OptionsBehavior.ShowSelectionRectangle

Remarks

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

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

See Also