Syncfusion.SfDiagram.WPF


Syncfusion.UI.Xaml.Diagram Namespace : SnapToObject Enumeration

SnapToObject Enumeration

Specifies to represent when you draw, resize, or move a shape or other object in diagram, you can set it so that it will align or "snap” to the nearest intersection in the diagram element or snap to other shapes or objects.
Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum SnapToObject 
   Inherits System.Enum
'Usage
 
Dim instance As SnapToObject
[Flags()]
public enum SnapToObject : System.Enum 
Members
MemberDescription
All Enables or disables all the behavior of snapping.
Bottom Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (both dragging and diagramming elements nearest intersect with bottom to bottom or bottom to top bounds) in the diagram elements.
BottomBottom Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (both dragging and diagramming elements nearest intersect with bottom bounds) in the diagram elements.
BottomTop Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (The dragging object as Bottom bound and diagramming elements Top bound nearest intersect) in the diagram elements.
Height Enables or disables the snapping when dragging or rezing object holds equal heigth to the nearest diagram elements.
HorizontalCenter Enables or disables the snapping when the dragging or rezingobject meets to the nearest intersection (Both dragging and horizontally placed node center bounds intersect each other) in the diagram elements.
HorizontalSpacing Enables or disables the snapping when the dragging or rezing object holds equal space horizontally to the nearest diagram elements.
Left Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (both dragging and diagramming elements nearest intersect with Left to left or left to right bounds) in the diagram elements.
LeftLeft Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (both dragging and diagramming elements nearest intersect with Left bounds) in the diagram elements.
LeftRight Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (The dragging object as left bound and diagramming elements right bound nearest intersect) in the diagram elements.
None Disables all the snapping behaviors for Nodes/Connectors to objects.
Port Enables or disables the snapping when dragging or rezing object ports are nearest intersection with other ports.
Right Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (both dragging and diagramming elements nearest intersect with right to right or right to left bounds) in the diagram elements.
RightLeft Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (The dragging object as right bound and diagramming elements left bound nearest intersect) in the diagram elements.
RightRight Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (both dragging and diagramming elements nearest intersect with right bounds) in the diagram elements.
Segment Enables or disables the snapping when the editing segment intersect with each other.
Size Enables or disables the snapping when dragging or rezing object holds equal width or height to the nearest diagram elements.
Top Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (both dragging and diagramming elements nearest intersect with top to top or top to bottom bounds) in the diagram elements.
TopBottom Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (The dragging object as Top bound and diagramming elements Bottom bound nearest intersect) in the diagram elements.
TopTop Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (both dragging and diagramming elements nearest intersect with Top bounds) in the diagram elements.
VerticalCenter Enables or disables the snapping when the dragging or rezing object meets to the nearest intersection (Both dragging and vertically placed node center bounds intersect each other) in the diagram elements.
VerticalSpacing Enables or disables the snapping when dragging or rezing object holds equal space vertically to the nearest diagram elements.
Width Enables or disables the snapping when dragging or rezing object holds equal width to the nearest diagram elements.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Syncfusion.UI.Xaml.Diagram.SnapToObject

AssemblyVersion

Syncfusion.SfDiagram.WPF: 17.3460.0.26

See Also