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