alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum PortConstraints

    Enables or disables certain features of the port.

    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    [Flags]
    public enum PortConstraints
    Examples
    Node node = new Node()
    {
        Ports = new DiagramObjectCollection<PointPort>()
        {
            new PointPort() 
            { 
                Constraints = PortConstraints.Draw
            }
        }
    };

    Fields

    Name Description
    Default

    Enables all constraints of a port.

    Draw

    Enables or disables creating the connection when the mouse hovers on the port.

    InConnect

    Enables or disables connecting only the target end of the connector.

    None

    Disables all the port functionalities.

    OutConnect

    Enables or disables connecting only the source end of the connector.

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