Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConnectionDirection - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ConnectionDirection

    Specifies the directions of the first segment have to be defined in a layout.

    Inheritance
    System.Object
    ConnectionDirection
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class ConnectionDirection : Enum
    Examples
    <SfDiagram Height = "600px" Layout="@LayoutValue">
    </SfDiagram>
    @code {
       DiagramLayout LayoutValue;
       protected override void OnInitialized()
       {
           LayoutValue = new DiagramLayout()
           {
               ConnectionDirection = ConnectionDirection.Auto,
           };
       }
    }

    Fields

    Auto

    Sets the first segment direction based on the type of the layout.

    Declaration
    public const ConnectionDirection Auto
    Field Value
    Type Description
    ConnectionDirection

    Custom

    Sets the first segment direction dynamically by the user

    Declaration
    public const ConnectionDirection Custom
    Field Value
    Type Description
    ConnectionDirection

    Orientation

    Sets the first segment direction based on the orientation of the layout

    Declaration
    public const ConnectionDirection Orientation
    Field Value
    Type Description
    ConnectionDirection

    value__

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