Enum GraphConstraints
Specifies to enable/disable certain behaviors for SfDiagram.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
[Flags]
public enum GraphConstraints
Fields
| Name | Description |
|---|---|
| AllowPan | Enable or disables panning for SfDiagram |
| AutomaticPortCreation | Enables or disables automatic port creation for SfDiagram. |
| AutoScroll | Enables or disables auto scroll behavior. |
| Bridging | Enables or disables line bridging. |
| Commands | Enables or disables Commands behavior. |
| Connectable | Enables or disables connection behavior. |
| ContextMenu | Enables or disables ContextMenu behavior. |
| Default | Enables all the behaviors of the control. |
| Draggable | Enables or disables the drag of element from one diagram to the other. |
| DrawingTool | Enables or disables drawing tool behavior. |
| Drop | Enables/Disables the drop of element from one diagram to the other. |
| Events | Enables or disables all events of the control. |
| FloatElements | Enables or disables drag the objects between multiple Diagrams. |
| None | Disable all SfDiagram constraints |
| Outline | Enables or disables outline tool behavior. |
| PageEditing | Enables or disables page editing behavior. |
| Pannable | Enables or disables the panning of SfDiagram over both X and Y axis. |
| PannableX | Enables or disables the panning of SfDiagram over X-axis. |
| PannableY | Enables or disables the panning of SfDiagram over Y -axis. |
| PanRails | Enables or Disables panning actions on the x-axis (horizontal panning) and y-axis (vertical panning) in SfDiagram. |
| PanRailsX | Enables or disables ran rails of SfDiagram in X-axis |
| PanRailsY | Enables or disables ran rails of SfDiagram in Y -axis |
| Relationship | Enables or disables properties based on Node and Connector relationships on dragging at run time. |
| Resizable | Enables or disables Resize behavior. |
| RestrictNegativeAxisDragDrop | Enables or disables dragging operation of diagram control objects at negative axis. |
| Rotatable | Enables or disables Rotate behavior. |
| Routing | Enables or disables line Routing. |
| Selectable | Enables or disable the selecting of diagram and its child elements. |
| Undoable | Enables or disables undo or redo of SfDiagram. |
| Virtualize | Enables or disables the virtualizing behavior of SfDiagram. |
| Zoomable | Enables or disables the zoomming of SfDiagram. |