Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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