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

Specifies the minimum distance between alignment guides of a shape being dragged and another shape's alignment guides at which the "snap-to-items" feature is activated. If the dragged shape is dropped at this position, it will be aligned with the second shape. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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


public double SnapToItemsDistance { get; set; }
Public Property SnapToItemsDistance As Double

Property Value

Type Description

The snap distance in pixels.


See Also