menu

WinForms

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

    Show / Hide Table of Contents

    Class LayoutContext

    Summary description for LayoutContext.

    Inheritance
    System.Object
    LayoutContext
    LCContainer
    LCLeaf
    LCTable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Layouting
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public abstract class LayoutContext

    Constructors

    LayoutContext(IWidget, ILCOperator)

    Declaration
    public LayoutContext(IWidget widget, ILCOperator lcOperator)
    Parameters
    Type Name Description
    IWidget widget
    ILCOperator lcOperator

    Fields

    m_bIsVerticalNotFitted

    Declaration
    protected bool m_bIsVerticalNotFitted
    Field Value
    Type
    System.Boolean

    m_bSkipAreaSpacing

    Declaration
    protected bool m_bSkipAreaSpacing
    Field Value
    Type
    System.Boolean

    m_layoutArea

    Declaration
    protected LayoutArea m_layoutArea
    Field Value
    Type
    LayoutArea

    m_lcOperator

    Declaration
    protected ILCOperator m_lcOperator
    Field Value
    Type
    ILCOperator

    m_ltState

    Declaration
    protected LayoutState m_ltState
    Field Value
    Type
    LayoutState

    m_ltWidget

    Declaration
    protected LayoutedWidget m_ltWidget
    Field Value
    Type
    LayoutedWidget

    m_sptWidget

    Declaration
    protected IWidget m_sptWidget
    Field Value
    Type
    IWidget

    m_widget

    Declaration
    protected IWidget m_widget
    Field Value
    Type
    IWidget

    Properties

    BoundsPaddingBottom

    Declaration
    protected double BoundsPaddingBottom { get; }
    Property Value
    Type
    System.Double

    BoundsPaddingRight

    Declaration
    protected double BoundsPaddingRight { get; }
    Property Value
    Type
    System.Double

    CustomGraphics

    Declaration
    public CustomGraphics CustomGraphics { get; }
    Property Value
    Type
    CustomGraphics

    IsVerticalNotFitted

    Declaration
    protected bool IsVerticalNotFitted { get; }
    Property Value
    Type
    System.Boolean

    LayoutArea

    Declaration
    public LayoutArea LayoutArea { get; }
    Property Value
    Type
    LayoutArea

    LayoutInfo

    Declaration
    public ILayoutInfo LayoutInfo { get; }
    Property Value
    Type
    ILayoutInfo

    SplittedWidget

    Declaration
    public IWidget SplittedWidget { get; }
    Property Value
    Type
    IWidget

    State

    Declaration
    public LayoutState State { get; }
    Property Value
    Type
    LayoutState

    Widget

    Declaration
    protected IWidget Widget { get; }
    Property Value
    Type
    IWidget

    Methods

    Create(IWidget, ILCOperator)

    Creates the specified widget.

    Declaration
    public static LayoutContext Create(IWidget widget, ILCOperator lcOperator)
    Parameters
    Type Name Description
    IWidget widget

    The widget.

    ILCOperator lcOperator

    The lc operator.

    Returns
    Type
    LayoutContext

    CreateLayoutArea(RectangleF)

    Creates the layout area.

    Declaration
    protected void CreateLayoutArea(RectangleF rect)
    Parameters
    Type Name Description
    System.Drawing.RectangleF rect

    The rect.

    CreateLayoutedWidget(PointF)

    Declaration
    protected void CreateLayoutedWidget(PointF location)
    Parameters
    Type Name Description
    System.Drawing.PointF location

    DoLayoutAfter()

    Declaration
    protected virtual void DoLayoutAfter()

    IsEnsureSplitted()

    Determines whether ensure splitted.

    Declaration
    public bool IsEnsureSplitted()
    Returns
    Type Description
    System.Boolean

    true if ensure splitted; otherwise, false.

    Layout(RectangleF)

    Declaration
    public abstract LayoutedWidget Layout(RectangleF rect)
    Parameters
    Type Name Description
    System.Drawing.RectangleF rect
    Returns
    Type
    LayoutedWidget
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved