menu

Blazor

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

    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 Description
    Direction

    Left

    Sets the direction of the connector segment to Left.

    Declaration
    public const Direction Left
    Field Value
    Type Description
    Direction

    Right

    Sets the direction of the connector segment to Right.

    Declaration
    public const Direction Right
    Field Value
    Type Description
    Direction

    Top

    Sets the direction of the connector segment to Top.

    Declaration
    public const Direction Top
    Field Value
    Type Description
    Direction

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved