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

    Show / Hide Table of Contents

    Interface IUIElementWithChildren

    A base interface for all UI elements that can have children elements.

    Inherited Members
    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 IUIElementWithChildren : IUIElement

    Methods

    GetChildElementById(string)

    Gets the first child element with the specified id.

    Declaration
    IUIElement? GetChildElementById(string id)
    Parameters
    Type Name Description
    string id

    The id of a child element.

    Returns
    Type Description
    IUIElement

    Returns null if the element could not be found. If many elements have the name id, this method returns the first it finds

    Extension Methods

    GUI.AlignHorizontally<T>(T, UIHorizontalAlignment)
    GUI.AlignVertically<T>(T, UIVerticalAlignment)
    GUI.Disable<T>(T)
    GUI.Enable<T>(T)
    GUI.Hide<T>(T)
    GUI.Show<T>(T)
    LoggingExtensions.Log<T>(T)
    In this article
    DevToys logo © 2024 DevToys