Enum PortVisibility
Represents the visibility options of the port.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
[Flags]
public enum PortVisibility
Examples
Node Node = new Node()
{
ID = "node1",
Height = 100,
Width = 100,
OffsetX = 100,
OffsetY = 100,
};
Node.Ports = new DiagramObjectCollection<PointPort>()
{
new PointPort()
{
Visibility=PortVisibility.Hover|PortVisibility.Connect,
}
};
Fields
| Name | Description |
|---|---|
| Connect | Shows the port when a connector endpoint is dragged over a node. |
| Hidden | Always hides the port. |
| Hover | Shows the port when the mouse hovers over a node. |
| Visible | Always shows the port. |