Back to Devexpress

DiagramControl.SnapToItemsDistance Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-6e6e21fd.md

latest1.3 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

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

Property Value

TypeDescription
Double

The snap distance in pixels.

|

See Also

SnapToItems

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace