menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Direction - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Direction

    Specifies the orthogonal connector's connection segment direction.

    Inheritance
    System.Object
    Direction
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class Direction : Enum
    Examples
        Connector connector = new Connector()
        {
            Type = ConnectorSegmentType.Orthogonal,
            Segments = new DiagramObjectCollection<ConnectorSegment>() 
            { 
                new OrthogonalSegment() 
                { 
                    Length = 70, 
                    Type = ConnectorSegmentType.Orthogonal, 
                    Direction = Direction.Right 
                }, 
                new OrthogonalSegment() 
                { 
                    Length = 20, 
                    Type = ConnectorSegmentType.Orthogonal, 
                    Direction = Direction.Bottom 
                } 
            }
        };

    Fields

    Bottom

    Sets the direction of the connector segment to Bottom.

    Declaration
    public const Direction Bottom
    Field Value
    Type
    Direction

    Left

    Sets the direction of the connector segment to Left.

    Declaration
    public const Direction Left
    Field Value
    Type
    Direction

    Right

    Sets the direction of the connector segment to Right.

    Declaration
    public const Direction Right
    Field Value
    Type
    Direction

    Top

    Sets the direction of the connector segment to Top.

    Declaration
    public const Direction Top
    Field Value
    Type
    Direction
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved