DevToys logo DevToys
  • Home
  • Blog
  • Documentation
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface IUISplitGrid

    A component that splits horizontally or vertically an area into two panes. Panes can be resized by the user.

    Inherited Members
    IUIElementWithChildren.GetChildElementById(string)
    IUIElement.Id
    IUIElement.IsVisible
    IUIElement.IsEnabled
    IUIElement.HorizontalAlignment
    IUIElement.VerticalAlignment
    IUIElement.IsVisibleChanged
    IUIElement.IsEnabledChanged
    IUIElement.HorizontalAlignmentChanged
    IUIElement.VerticalAlignmentChanged
    Namespace: DevToys.Api
    Assembly: DevToys.Api.dll
    Syntax
    public interface IUISplitGrid : IUIElementWithChildren, IUIElement

    Properties

    LeftOrTopCellContent

    Gets the element to display in the top or left cell, depending on the Orientation.

    Declaration
    IUIElement? LeftOrTopCellContent { get; }
    Property Value
    Type Description
    IUIElement

    LeftOrTopCellLength

    Gets the length of the top or left cell. Default is 1*. Auto is not supported.

    Declaration
    UIGridLength LeftOrTopCellLength { get; }
    Property Value
    Type Description
    UIGridLength

    MinimumCellLength

    Gets the minimum length of a cell, in pixels. Default is 50.

    Declaration
    int MinimumCellLength { get; }
    Property Value
    Type Description
    int

    Orientation

    Gets the orientation of the grid gutter. Default is Vertical.

    Declaration
    UIOrientation Orientation { get; }
    Property Value
    Type Description
    UIOrientation

    RightOrBottomCellContent

    Gets the element to display in the right or bottom cell, depending on the Orientation.

    Declaration
    IUIElement? RightOrBottomCellContent { get; }
    Property Value
    Type Description
    IUIElement

    RightOrBottomCellLength

    Gets the length of the right or bottom cell. Default is 1*. Auto is not supported.

    Declaration
    UIGridLength RightOrBottomCellLength { get; }
    Property Value
    Type Description
    UIGridLength

    Events

    LeftOrTopCellContentChanged

    Raised when LeftOrTopCellContent is changed.

    Declaration
    event EventHandler? LeftOrTopCellContentChanged
    Event Type
    Type Description
    EventHandler

    LeftOrTopCellLengthChanged

    Raised when LeftOrTopCellLength is changed.

    Declaration
    event EventHandler? LeftOrTopCellLengthChanged
    Event Type
    Type Description
    EventHandler

    MinimumCellLengthChanged

    Raised when MinimumCellLength is changed.

    Declaration
    event EventHandler? MinimumCellLengthChanged
    Event Type
    Type Description
    EventHandler

    OrientationChanged

    Raised when Orientation is changed.

    Declaration
    event EventHandler? OrientationChanged
    Event Type
    Type Description
    EventHandler

    RightOrBottomCellContentChanged

    Raised when RightOrBottomCellContent is changed.

    Declaration
    event EventHandler? RightOrBottomCellContentChanged
    Event Type
    Type Description
    EventHandler

    RightOrBottomCellLengthChanged

    Raised when RightOrBottomCellLength is changed.

    Declaration
    event EventHandler? RightOrBottomCellLengthChanged
    Event Type
    Type Description
    EventHandler

    Extension Methods

    GUI.AlignHorizontally<T>(T, UIHorizontalAlignment)
    GUI.AlignVertically<T>(T, UIVerticalAlignment)
    GUI.BottomPaneLength(IUISplitGrid, UIGridLength)
    GUI.Disable<T>(T)
    GUI.Enable<T>(T)
    GUI.Hide<T>(T)
    GUI.Horizontal(IUISplitGrid)
    GUI.LeftPaneLength(IUISplitGrid, UIGridLength)
    GUI.MinimumLength(IUISplitGrid, int)
    GUI.RightPaneLength(IUISplitGrid, UIGridLength)
    GUI.Show<T>(T)
    GUI.TopPaneLength(IUISplitGrid, UIGridLength)
    GUI.Vertical(IUISplitGrid)
    GUI.WithBottomPaneChild(IUISplitGrid, IUIElement?)
    GUI.WithLeftPaneChild(IUISplitGrid, IUIElement?)
    GUI.WithRightPaneChild(IUISplitGrid, IUIElement?)
    GUI.WithTopPaneChild(IUISplitGrid, IUIElement?)
    LoggingExtensions.Log<T>(T)
    In this article
    DevToys logo © 2024 DevToys