Class SnapConstraints
Specifies to enable/disable the default behaviors of the snapping in diagram.
Inheritance
System.Object
SnapConstraints
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public sealed class SnapConstraints : Enum
Fields
All
Enables or disables all Snap Constraints.
Declaration
public const SnapConstraints All
Field Value
Type |
---|
SnapConstraints |
HorizontalLines
Enables or disables to horizontal lines.
Declaration
public const SnapConstraints HorizontalLines
Field Value
Type |
---|
SnapConstraints |
None
Disables all the behaviors for Snapping.
Declaration
public const SnapConstraints None
Field Value
Type |
---|
SnapConstraints |
Rotation
Enables or disables node to be snapped to rotation.
Declaration
public const SnapConstraints Rotation
Field Value
Type |
---|
SnapConstraints |
ShowLines
Enables or disables to horizontal/vertical lines.
Declaration
public const SnapConstraints ShowLines
Field Value
Type |
---|
SnapConstraints |
SnapToHorizontalLines
Enables or disables node to be snapped to vertical gridlines.
Declaration
public const SnapConstraints SnapToHorizontalLines
Field Value
Type |
---|
SnapConstraints |
SnapToLines
Enables or disables node to be snapped to gridlines
Declaration
public const SnapConstraints SnapToLines
Field Value
Type |
---|
SnapConstraints |
SnapToVerticalLines
Enables or disables node to be snapped to horizontal gridlines.
Declaration
public const SnapConstraints SnapToVerticalLines
Field Value
Type |
---|
SnapConstraints |
VerticalLines
Enables or disables to vertical lines.
Declaration
public const SnapConstraints VerticalLines
Field Value
Type |
---|
SnapConstraints |