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.SnapToItems Property

Specifies whether to pull shapes to other shapes whenever an end-user drags them around the Canvas. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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


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

Property Value

Type Description

true to snap shapes to other shapes; otherwise, false.


See Also