Back to Devexpress

DiagramControl.ShowSelectionRectangle Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-5233fc94.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
[Browsable(false)]
public bool ShowSelectionRectangle { get; set; }
vb
<Browsable(False)>
Public Property ShowSelectionRectangle As Boolean

Property Value

TypeDescription
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

SelectPartiallyCoveredItems

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace