alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    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.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved