menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum SnapReason - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Enum SnapReason

    Specifies the reason or target of the snap.

    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    [Flags]
    public enum SnapReason

    Fields

    Name Description
    Angle

    Snapping should happen when rotating the node.

    EqualSpace

    Snapping should happen when the space between the Nodes are equal.

    GridLine

    Snapping should happen for gridlines.

    Segment

    Snapping should happen when two Segment are going to intersect for connector.

    Sides

    Snapping should happen for sides(left,top,bottom and right) of the node.

    Size

    Snapping should happen when the size of the Nodes are equal.

    Extension Methods

    DiagramExtensions.Contains(SnapReason)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved