menu

WinForms

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

    Show / Hide Table of Contents

    Class OrgChartLayoutManager

    This layout manager is used to draw organizational layouts.

    Inheritance
    System.Object
    LayoutManager
    GraphLayoutManager
    DirectedTreeLayoutManager
    OrgChartLayoutManager
    Inherited Members
    DirectedTreeLayoutManager.ApplyRotation(Graph)
    DirectedTreeLayoutManager.CalcRankPositionVerticalLayout(Int32, Graph)
    DirectedTreeLayoutManager.DoInitXLayout(Graph)
    DirectedTreeLayoutManager.ExtractSubGraph(GraphNode, Int32, Graph)
    DirectedTreeLayoutManager.GetSubGraphDimension(Int32, Int32, Dimension, Graph)
    DirectedTreeLayoutManager.m_LayoutType
    DirectedTreeLayoutManager.MakeGraphLayout(Graph)
    DirectedTreeLayoutManager.MakeLayout(ArrayList, Int32, Graph)
    DirectedTreeLayoutManager.MakeLayout(Graph)
    DirectedTreeLayoutManager.NormalizeNodes(ArrayList, Int32)
    DirectedTreeLayoutManager.RotationAngle
    DirectedTreeLayoutManager.WaterFallNodePosition(GraphNode)
    DirectedTreeLayoutManager.XCoordRoutine(IGBounds, Single)
    DirectedTreeLayoutManager.YCoordinateRoutine(ArrayList, Single)
    GraphLayoutManager.HorizontalSpacing
    GraphLayoutManager.ImprovePerformance
    GraphLayoutManager.m_fXBorder
    GraphLayoutManager.m_fYBorder
    GraphLayoutManager.m_fYHighest
    GraphLayoutManager.OnPreferredLayout(PreferredLayoutEventArgs)
    GraphLayoutManager.PassedNodes
    GraphLayoutManager.PreferredLayout
    GraphLayoutManager.SelectedNode
    GraphLayoutManager.UpdateLayout(NodeCollection)
    GraphLayoutManager.UpdateLayout(Object)
    GraphLayoutManager.VerticalSpacing
    LayoutManager.AutoLayout
    LayoutManager.autoLayoutFlag
    LayoutManager.LayoutUpdated
    LayoutManager.LeftMargin
    LayoutManager.mdl
    LayoutManager.Model
    LayoutManager.Nodes
    LayoutManager.OnConnectionsChanged(CollectionExEventArgs)
    LayoutManager.OnLayoutUpdated(EventArgs)
    LayoutManager.OnNodeCollectionChanged(CollectionExEventArgs)
    LayoutManager.OnPropertyChanged(PropertyChangedEventArgs)
    LayoutManager.TopMargin
    LayoutManager.UpdatingLayout
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class OrgChartLayoutManager : DirectedTreeLayoutManager

    Constructors

    OrgChartLayoutManager()

    Initializes a new instance of the OrgChartLayoutManager class.

    Declaration
    public OrgChartLayoutManager()

    OrgChartLayoutManager(Model, RotateDirection, Single, Single)

    Initializes a new instance of the OrgChartLayoutManager class.

    Declaration
    public OrgChartLayoutManager(Model model, RotateDirection direction, float fHorizontalOffset, float fVerticalOffset)
    Parameters
    Type Name Description
    Model model

    The diagram Model.

    RotateDirection direction

    The angular orientation of the tree.

    System.Single fHorizontalOffset

    Specifies the horizontal distance between adjacent nodes.

    System.Single fVerticalOffset

    Specifies the vertical distance between adjacent nodes.

    OrgChartLayoutManager(Model, RotateDirection, Single, Single, LayoutType, Int32)

    Initializes a new instance of the OrgChartLayoutManager class.

    Declaration
    public OrgChartLayoutManager(Model model, RotateDirection direction, float fHorizontalOffset, float fVerticalOffset, LayoutType layoutType, int nTreeLevel)
    Parameters
    Type Name Description
    Model model

    The diagram Model.

    RotateDirection direction

    The angular orientation of the tree.

    System.Single fHorizontalOffset

    Specifies the horizontal distance between adjacent nodes.

    System.Single fVerticalOffset

    Specifies the vertical distance between adjacent nodes.

    LayoutType layoutType

    Specifies the layout type of tree

    System.Int32 nTreeLevel

    Specifies the tree level upto which the default layout has to be maintained

    OrgChartLayoutManager(Model, RotateDirection, Single, Single, LayoutType, Int32, Boolean)

    Initializes a new instance of the OrgChartLayoutManager class.

    Declaration
    public OrgChartLayoutManager(Model model, RotateDirection direction, float fHorizontalOffset, float fVerticalOffset, LayoutType layoutType, int nTreeLevel, bool bSingleChildLayout)
    Parameters
    Type Name Description
    Model model

    The diagram Model.

    RotateDirection direction

    The angular orientation of the tree.

    System.Single fHorizontalOffset

    Specifies the horizontal distance between adjacent nodes.

    System.Single fVerticalOffset

    Specifies the vertical distance between adjacent nodes.

    LayoutType layoutType

    Specifies the layout type of tree

    System.Int32 nTreeLevel

    Specifies the tree level upto which the default layout has to be maintained

    System.Boolean bSingleChildLayout

    Determines whether the layout needs to done on single child node

    OrgChartLayoutManager(Model, Single, Single)

    Initializes a new instance of the OrgChartLayoutManager class.

    Declaration
    public OrgChartLayoutManager(Model model, float fHorizontalOffset, float fVerticalOffset)
    Parameters
    Type Name Description
    Model model

    The diagram Model.

    System.Single fHorizontalOffset

    Specifies the horizontal distance between adjacent nodes.

    System.Single fVerticalOffset

    Specifies the vertical distance between adjacent nodes.

    OrgChartLayoutManager(Model, Single, Single, Single)

    Initializes a new instance of the OrgChartLayoutManager class.

    Declaration
    public OrgChartLayoutManager(Model model, float fRotation, float fHorizontalOffset, float fVerticalOffset)
    Parameters
    Type Name Description
    Model model

    The diagram Model.

    System.Single fRotation

    The angular orientation of the tree.

    System.Single fHorizontalOffset

    Specifies the horizontal distance between adjacent nodes.

    System.Single fVerticalOffset

    Specifies the vertical distance between adjacent nodes.

    Properties

    RotateDirection

    Gets or sets the rotate direction.

    Declaration
    public RotateDirection RotateDirection { get; set; }
    Property Value
    Type
    RotateDirection

    Methods

    DoGraphLayout()

    Applies the directed tree layout strategy on the diagram.

    Declaration
    protected override void DoGraphLayout()
    Overrides
    DirectedTreeLayoutManager.DoGraphLayout()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved