logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiToggleableActions

    Implementation of IUiToggleableActions to handle UI toggleable actions.

    Inheritance
    object
    UiComponentActions
    UiInteractableComponentActions
    UiToggleableActions
    Implements
    IUiToggleableActions
    IUiInteractableActions
    IUiComponentActions
    IComponentActions
    Inherited Members
    UiInteractableComponentActions._onDraggingStart
    UiInteractableComponentActions._onDraggingEnd
    UiInteractableComponentActions._onFocus
    UiInteractableComponentActions._onBlur
    UiInteractableComponentActions._selectComponentById
    UiInteractableComponentActions._selectNextComponent
    UiInteractableComponentActions._selectPreviousComponent
    UiInteractableComponentActions._incrementValue
    UiInteractableComponentActions._decrementValue
    UiInteractableComponentActions._submit
    UiInteractableComponentActions._cancel
    UiInteractableComponentActions.OnDraggingStart
    UiInteractableComponentActions.OnDraggingEnd
    UiInteractableComponentActions.OnFocus
    UiInteractableComponentActions.OnBlur
    UiInteractableComponentActions.SelectComponentById
    UiInteractableComponentActions.SelectNextComponent
    UiInteractableComponentActions.SelectPreviousComponent
    UiInteractableComponentActions.IncrementValue
    UiInteractableComponentActions.DecrementValue
    UiInteractableComponentActions.Submit
    UiInteractableComponentActions.Cancel
    UiComponentActions._awake
    UiComponentActions._onEnable
    UiComponentActions._update
    UiComponentActions._onDisable
    UiComponentActions._onDestroy
    UiComponentActions.Awake
    UiComponentActions.OnEnable
    UiComponentActions.Update
    UiComponentActions.OnDisable
    UiComponentActions.OnDestroy
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Application.Components
    Assembly: Serenity.Ui.Application.dll
    Syntax
    public class UiToggleableActions : UiInteractableComponentActions, IUiToggleableActions, IUiInteractableActions, IUiComponentActions, IComponentActions

    Constructors

    UiToggleableActions()

    Initializes a new instance of the UiToggleableActions class with default values.

    Declaration
    public UiToggleableActions()

    UiToggleableActions(Action<IUiComponent>)

    Initializes a new instance of the UiToggleableActions class with the specified actions.

    Declaration
    public UiToggleableActions(Action<IUiComponent> onToggle = null)
    Parameters
    Type Name Description
    Action<IUiComponent> onToggle

    The action to be executed when the UI component is toggled.

    Properties

    OnToggle

    The action to be invoked when the component is toggled.

    Declaration
    public Action<IUiComponent> OnToggle { get; set; }
    Property Value
    Type Description
    Action<IUiComponent>

    The action to be executed when the component is toggled.

    Implements

    IUiToggleableActions
    IUiInteractableActions
    IUiComponentActions
    IComponentActions
    In this article
    © 2026 Serenity. All Rights Reserved