Class PortVisibility
Constraints to define when a port has to be visible Visible - Always shows the port Hidden - Always hides the port Hover - Shows the port when the mouse hovers over a node Connect - Shows the port when a connection end point is dragged over a node Default - By default the ports will be visible when a node is hovered and being tried to connect
Inheritance
System.Object
PortVisibility
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public sealed class PortVisibility : Enum
Fields
Connect
Shows the port when a connection end point is dragged over a node
Declaration
public const PortVisibility Connect
Field Value
Type |
---|
PortVisibility |
Hidden
Always hides the port
Declaration
public const PortVisibility Hidden
Field Value
Type |
---|
PortVisibility |
Hover
Shows the port when the mouse hovers over a node
Declaration
public const PortVisibility Hover
Field Value
Type |
---|
PortVisibility |
Visible
Always shows the port
Declaration
public const PortVisibility Visible
Field Value
Type |
---|
PortVisibility |