Class PortConstraints
Enables/Disables certain features of port connection
Inheritance
System.Object
    PortConstraints
  Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public sealed class PortConstraints : Enum
  Fields
Default
Enables all constraints
Declaration
public const PortConstraints Default
  Field Value
| Type | 
|---|
| PortConstraints | 
Drag
Enables connections with connector
Declaration
public const PortConstraints Drag
  Field Value
| Type | 
|---|
| PortConstraints | 
Draw
Enables to create the connection when mouse hover on the port
Declaration
public const PortConstraints Draw
  Field Value
| Type | 
|---|
| PortConstraints | 
InConnect
Enables to only connect the target end of connector
Declaration
public const PortConstraints InConnect
  Field Value
| Type | 
|---|
| PortConstraints | 
InheritTooltip
Enables or disables the Tooltip for the ports
Declaration
public const PortConstraints InheritTooltip
  Field Value
| Type | 
|---|
| PortConstraints | 
None
Disable all constraints
Declaration
public const PortConstraints None
  Field Value
| Type | 
|---|
| PortConstraints | 
OutConnect
Enables to only connect the source end of connector
Declaration
public const PortConstraints OutConnect
  Field Value
| Type | 
|---|
| PortConstraints | 
ToolTip
Enables or disables the Tooltip for the ports
Declaration
public const PortConstraints ToolTip
  Field Value
| Type | 
|---|
| PortConstraints |