menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DirectedTreeLayout - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DirectedTreeLayout

    Represents the base class of DirectedTreeLayout.

    Inheritance
    System.Object
    LayoutBase
    TreeLayoutBase
    DirectedTreeLayout
    Implements
    ILayout
    Inherited Members
    LayoutBase.Margin
    TreeLayoutBase.HorizontalSpacing
    TreeLayoutBase.VerticalSpacing
    Namespace: Syncfusion.SfDiagram.Android
    Assembly: Syncfusion.SfDiagram.Android.dll
    Syntax
    public class DirectedTreeLayout : TreeLayoutBase, ILayout, IInternalLayout

    Constructors

    DirectedTreeLayout()

    Initializes a new instance of the DirectedTreeLayout class. Initialize DirectedTreeLayout method.

    Declaration
    public DirectedTreeLayout()

    Properties

    IsDraggable

    Gets or sets a value indicating whether Drag.

    Declaration
    public bool IsDraggable { get; set; }
    Property Value
    Type Description
    System.Boolean

    Gets or sets the Drag of the Layout.

    TreeOrientation

    Gets or sets Orientation.

    Declaration
    public TreeOrientation TreeOrientation { get; set; }
    Property Value
    Type Description
    TreeOrientation

    Gets or sets the Orientation of the Layout.

    Type

    Gets or sets Type.

    Declaration
    public LayoutType Type { get; set; }
    Property Value
    Type Description
    LayoutType

    Gets or sets the Type of the Layout.

    Methods

    ArrangeChildren(Node, IEnumerable<Node>)

    Determine the order of Node's neighbor, during automatic layout.

    Declaration
    protected virtual IEnumerable<Node> ArrangeChildren(Node parent, IEnumerable<Node> children)
    Parameters
    Type Name Description
    Node parent

    the parent node.

    System.Collections.Generic.IEnumerable<Node> children

    the children object.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Node>

    returns the children nodes.

    UpdateLayout()

    Initialize UpdateLayout method.

    Declaration
    public override void UpdateLayout()
    Overrides
    LayoutBase.UpdateLayout()

    UpdateLayout(Object)

    Method to update layout

    Declaration
    public override void UpdateLayout(object fixedNode)
    Parameters
    Type Name Description
    System.Object fixedNode

    the fixed node.

    Overrides
    LayoutBase.UpdateLayout(Object)

    Implements

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