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.1.dll

Declaration

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

Property Value

Type Description
Double

The snap distance in pixels.

Implements

DevExpress.Diagram.Core.IDiagramControl.SnapToItemsDistance
See Also