Enum NodeConstraints
Specifies to enable/disable certain behaviors for Nodes.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
[Flags]
public enum NodeConstraints : ulong
Fields
Name | Description |
---|---|
AllowDrop | Enables or disables interaction events(DragEnter,DragOver,ItemDrop and DragLeave) for diagram nodes. |
AllowPan | Enables or disables panning for the node. |
AspectRatio | Enables or disables node to be resize proportionaly. |
AutomaticPortCreation | Enables or disables automatic port creation for node |
Connectable | Enables or disables a node to connect to the connector. |
Default | Enables Selectable, Draggable, Resizable, Rotatable, Connectable, Inherit, RoutingObstacle, PivotDraggable, Delete, ThemeStyle constraints. |
Delete | Enables or disables delect operation for node. |
DragAnnotation | Enables or disables node's annotation to be draggable. |
Draggable | Enables or disables a node to be dragged. |
DynamicPortConnection | Enable or disables to auto connector with port point when mouse hover on Node's bounds. |
ExcludeFromLayout | Enables or disables to exclude the node from layout. |
InConnect | Enables or disables connection for incoming connector. |
Inherit | Enables or disables to inherit all the Dragging, Resizing, Rotating, Snapping, SnapToObject, and PortVisibility from SfDiagram. |
InheritAllowPan | Enables or disables a node to pan from graph level |
InheritAutomaticPortCreation | Enables or disables to inherit the value for automatic port creation from diagram. |
InheritDraggable | Enables or disables to inherit the value for draggable from diagram. |
InheritHitPadding | Enables or disables to inherit the value for hitpadding from diagram. |
InheritMenu | Enables or disables to inherit the context menu from node. |
InheritPortVisibility | Enables or disables to inherit the value of PortVisibility. |
InheritResizable | Enables or disables to inherit the value for resizable from diagram. |
InheritRestrictNegativeAxisDragDrop | Enables or disables dragging operation at negative axis from SfDiagram. |
InheritRotatable | Enables or disables to inherit the value for rotatable from diagram. |
InheritSnapping | Enables or disables to inherit the value of snaptolines and snapangle from SfDiagram by using SnapConstraints property value. |
InheritSnapToObject | Enables or disables to inherit the value to SnapToObject from SfDiagram by using SnapConstraints property value.. |
Menu | Enables or disables to context menu on the node. |
None | Disable all Node Constraints. |
OutConnect | Enables or disables connection for outgoing connector. |
PivotDraggable | Enables or disables a pivot thumb dragging for node. |
Resizable | Enables or disables a node to be resizable. |
ResizeEast | Enables or disables node to be resizd in East east direction. |
ResizeNorth | Enables or disables node to be resized in North direction. |
ResizeNorthEast | Enables or disables node to be resized in NorthEast direction. |
ResizeNorthWest | Enables or disables node to be resized in NorthWest direction. |
ResizeSouth | Enables or disables node to be resized in South direction. |
ResizeSouthEast | Enables or disables node to be resized in SouthEast direction. |
ResizeSouthWest | Enables or disables node to be resized in SouthWest direction. |
ResizeWest | Enables or disables node to be resized in West direction. |
RestrictNegativeAxisDragDrop | Enables or disables dragging operation at negative axis. |
Rotatable | Enables or disables a node to be rotated. |
RoutingObstacle | Enables or disables a node to be treated as obstacle while in routing. |
Selectable | Enables or disables a node to be selected. |
SnapAngle | Enables or disables to snap while rotating. |
SnapToHorizontalLines | Enables or disables to snap to horizontal gridlines. |
SnapToLines | Enables or disables nodes to snap to gridlines. |
SnapToVerticalLines | Enables or disables to snap to vertical gridlines. |
ThemeStyle | Enables or disables themestyle for node. |