Enum PortConstraints
Specifies to enable/disable certain behaviors for Ports.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
[Flags]
public enum PortConstraints
Fields
| Name | Description |
|---|---|
| Connectable | Enables or disables connection to the Connector. |
| ConnectionDirection | Decide the connection direction of port based on ConnectionDirection |
| Default | Enables Inherit constraints. |
| Draggable | Defines whether port to be dragged at boundaries of node |
| Dynamic | Defines whether port to be connected at boundaries of node and pointed to the port. |
| InConnect | Enables or disables connecting to the incoming Connector. |
| Inherit | Enables or disables to inherit the value of PortVisibility, HitPadding and Connectable from Node. |
| InheritConnectable | Enables or disables to inherit the value of Connectable from Node. |
| InheritHitPadding | Enables or disables to inherit the value of HitPadding. |
| InheritPortVisibility | Enables or disables to inherit the value of PortVisibility from Node. |
| None | Disable all port Constraints. |
| OutConnect | Enables or disables connecting the outgoing Connector. |
| Snapping | Enables or disables snapping on node |