menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LayoutBase - UWP 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
    Namespace: Syncfusion.UI.Xaml.Diagram.Layout
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public abstract class LayoutBase : Object, ILayout, IInternalLayout

    Constructors

    LayoutBase()

    Declaration
    protected LayoutBase()

    Properties

    Bounds

    Gets or sets the region where the diagram is rendered.

    Declaration
    public Nullable<Rect> Bounds { get; set; }
    Property Value
    Type
    System.Nullable<Windows.Foundation.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
    Windows.UI.Xaml.HorizontalAlignment

    Margin

    Gets or sets the space between bounds and arranged diagram.

    Declaration
    public Thickness Margin { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Thickness

    VerticalAlignment

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

    Declaration
    public VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.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

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved