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

    Show / Hide Table of Contents

    Interface IUISettingGroup

    A component that represents a group of settings, with a title, description and an icon.

    Inherited Members
    IUISetting.Description
    IUISetting.StateDescription
    IUISetting.Icon
    IUISetting.InteractiveElement
    IUISetting.DescriptionChanged
    IUISetting.StateDescriptionChanged
    IUISetting.IconChanged
    IUISetting.InteractiveElementChanged
    IUITitledElement.Title
    IUITitledElement.TitleChanged
    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 IUISettingGroup : IUISetting, IUITitledElementWithChildren, IUITitledElement, IUIElementWithChildren, IUIElement

    Properties

    Children

    Gets the list of child elements.

    Declaration
    IUIElement[]? Children { get; }
    Property Value
    Type Description
    IUIElement[]

    ChildrenAreAllSettings

    Gets whether element in Children are all of type IUISetting.

    Declaration
    bool ChildrenAreAllSettings { get; }
    Property Value
    Type Description
    bool

    Events

    ChildrenChanged

    Raised when Children is changed.

    Declaration
    event EventHandler? ChildrenChanged
    Event Type
    Type Description
    EventHandler

    Extension Methods

    GUI.Description(IUISetting, string?)
    GUI.Handle(IUISetting, ISettingsProvider, SettingDefinition<bool>, Action<bool>)
    GUI.Handle(IUISetting, ISettingsProvider, SettingDefinition<bool>, Func<bool, ValueTask>?)
    GUI.Handle(IUISetting, ISettingsProvider, SettingDefinition<bool>, string?, string?, Action<bool>?)
    GUI.Handle(IUISetting, ISettingsProvider, SettingDefinition<bool>, string?, string?, Func<bool, ValueTask>?)
    GUI.Handle<T>(IUISetting, ISettingsProvider, SettingDefinition<T>, Action<T>?, params IUIDropDownListItem[])
    GUI.Handle<T>(IUISetting, ISettingsProvider, SettingDefinition<T>, Func<T, ValueTask>?, params IUIDropDownListItem[])
    GUI.Icon(IUISetting, string, char)
    GUI.InteractiveElement(IUISetting, IUIElement?)
    GUI.StateDescription(IUISetting, string?)
    GUI.AlignHorizontally<T>(T, UIHorizontalAlignment)
    GUI.AlignVertically<T>(T, UIVerticalAlignment)
    GUI.Description(IUISettingGroup, string?)
    GUI.Disable<T>(T)
    GUI.Enable<T>(T)
    GUI.Handle(IUISettingGroup, ISettingsProvider, SettingDefinition<bool>, Action<bool>?)
    GUI.Handle(IUISettingGroup, ISettingsProvider, SettingDefinition<bool>, Func<bool, ValueTask>?)
    GUI.Handle<T>(IUISettingGroup, ISettingsProvider, SettingDefinition<T>, Action<T>?, params IUIDropDownListItem[])
    GUI.Handle<T>(IUISettingGroup, ISettingsProvider, SettingDefinition<T>, Func<T, ValueTask>?, params IUIDropDownListItem[])
    GUI.Hide<T>(T)
    GUI.Icon(IUISettingGroup, string, char)
    GUI.InteractiveElement(IUISettingGroup, IUIElement?)
    GUI.Show<T>(T)
    GUI.Title<T>(T, string?)
    GUI.WithChildren(IUISettingGroup, params IUIElement[])
    GUI.WithSettings(IUISettingGroup, params IUISetting[])
    LoggingExtensions.Log<T>(T)
    In this article
    DevToys logo © 2024 DevToys