Skip to main content

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public double SnapToItemsDistance { get; set; }

Property Value

Type Description
Double

The snap distance in pixels.

See Also