Show / Hide Table of Contents

    Interface ITreeTableLayout

    Represents a layout of columns that is shared between nodes in a tree view, using a ITreeTableRowLayoutComponent. By sharing the interaces different nodes on the list can align the columns together.

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface ITreeTableLayout : IDisposable

    Properties

    | Improve this Doc View Source

    ColumnPadding

    Gets or sets the column padding.

    Declaration
    float ColumnPadding { get; set; }
    Property Value
    Type Description
    System.Single

    The column padding.

    | Improve this Doc View Source

    ColumnSizes

    Gets the column sizes.

    Declaration
    IAGSBindingList<float> ColumnSizes { get; }
    Property Value
    Type Description
    IAGSBindingList<System.Single>

    The column sizes.

    | Improve this Doc View Source

    OnQueryLayout

    The table layout fires this event when it needs to query the column sizes from all the rows. The rows respond by setting their sizes, so at the end of the event, the layout knows the biggest length needed for each column.

    Declaration
    IBlockingEvent<QueryLayoutEventArgs> OnQueryLayout { get; }
    Property Value
    Type Description
    IBlockingEvent<QueryLayoutEventArgs>

    The query layout event.

    | Improve this Doc View Source

    OnRefreshLayoutNeeded

    Once the table layout calculates new column sizes it fires this event, for which all the rows should listen and readjust their columns accordingly. If a specific row is passed, only that row needs to recalculate. If the passed row is null, all rows need to recalculate.

    Declaration
    IBlockingEvent<ITreeTableRowLayoutComponent> OnRefreshLayoutNeeded { get; }
    Property Value
    Type Description
    IBlockingEvent<ITreeTableRowLayoutComponent>

    The refresh layout event.

    | Improve this Doc View Source

    Rows

    Gets the rows.

    Declaration
    IAGSBindingList<ITreeTableRowLayoutComponent> Rows { get; }
    Property Value
    Type Description
    IAGSBindingList<ITreeTableRowLayoutComponent>

    The rows.

    | Improve this Doc View Source

    StartX

    Gets or sets the start x.

    Declaration
    float StartX { get; set; }
    Property Value
    Type Description
    System.Single

    The start x.

    Methods

    | Improve this Doc View Source

    PerformLayout()

    Performs the layout.

    Declaration
    void PerformLayout()
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX