WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LayoutBase - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LayoutBase

    Represents the base class for arranging nodes and connectors..

    Inheritance
    System.Object
    LayoutBase
    TreeLayoutBase
    Implements
    ILayout
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Diagram.Layout
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public abstract class LayoutBase : ILayout, IInternalLayout

    Constructors

    LayoutBase()

    Declaration
    protected LayoutBase()

    Properties

    Bounds

    Gets or sets the region where the diagram is rendered.

    Declaration
    public Rect? Bounds { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Windows.Rect>
    Remarks

    Bounds property is only used for RadialTree Layout

    HorizontalAlignment

    Gets or sets the value to define the horizontal alignment of the diagram.

    Declaration
    public HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    System.Windows.HorizontalAlignment

    HorizotalAlignment

    Gets or sets the value to define the horizontal alignment of the diagram.

    Declaration
    [Obsolete("This HorizotalAlignment Property is deprecated, instead use HorizontalAlignment")]
    public HorizontalAlignment HorizotalAlignment { get; set; }
    Property Value
    Type Description
    System.Windows.HorizontalAlignment

    Margin

    Gets or sets the space between bounds and arranged diagram.

    Declaration
    public Thickness Margin { get; set; }
    Property Value
    Type Description
    System.Windows.Thickness

    VerticalAlignment

    Gets or sets the value to define the horizontal alignment of the diagram.

    Declaration
    public VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    System.Windows.VerticalAlignment

    Methods

    InvalidateLayout()

    Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout().

    Declaration
    public abstract void InvalidateLayout()

    UpdateLayout()

    Method to update the currently arranged Nodes and Connectors.

    Declaration
    public abstract void UpdateLayout()

    UpdateLayout(Object)

    Method to update the currently arranged Nodes and Connectors.

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

    The node which is used as anchor to layout

    Implements

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