alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum BranchType

    Defines the Alignment position

    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public enum BranchType
    Examples
    <SfDiagramComponent>
        <DataSourceSettings ID = "Id" ParentID="Team" DataSource="@DataSource"></DataSourceSettings>   
        <Layout Type = "LayoutType.MindMap">
        </Layout>
    </SfDiagramComponent>
    @code
    {
       public class OrgChartDataModel 
       {
           public string Id  { get; set; }
           public string Team { get; set; }
           public string Role { get; set; }
            public BranchType branch { get; set; }
       }
       public object DataSource = new List<object>()
       {
           new OrgChartDataModel() { Id= "1", Role= "General Manager" ,branch = BranchType.Root},
       };
    }

    Fields

    Name Description
    Left

    Sets the branch type as Left

    Right

    Sets the branch type as Right

    Root

    Sets the branch type as Root

    SubLeft

    Sets the branch type as SubLeft

    SubRight

    Sets the branch type as SubRight

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