menu

UWP

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

    Show / Hide Table of Contents

    Class SnapReason

    Specifies the reason or target of the snap.

    Inheritance
    System.Object
    SnapReason
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public sealed class SnapReason : Enum

    Fields

    Angle

    Snapping should happen when rotating the node.

    Declaration
    public const SnapReason Angle
    Field Value
    Type
    SnapReason

    EqualSpace

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

    Declaration
    public const SnapReason EqualSpace
    Field Value
    Type
    SnapReason

    GridLine

    Snapping should happen for gridlines.

    Declaration
    public const SnapReason GridLine
    Field Value
    Type
    SnapReason

    Segment

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

    Declaration
    public const SnapReason Segment
    Field Value
    Type
    SnapReason

    Sides

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

    Declaration
    public const SnapReason Sides
    Field Value
    Type
    SnapReason

    Size

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

    Declaration
    public const SnapReason Size
    Field Value
    Type
    SnapReason

    Extension Methods

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