logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiToggleableParameters

    Implementation of IUiToggleableParameters to hold parameters for a toggleable UI component.

    Inheritance
    object
    UiToggleableParameters
    Implements
    IUiToggleableParameters
    IComponentParameters
    IFoundationSettings
    Inherited Members
    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 UiToggleableParameters : IUiToggleableParameters, IComponentParameters, IFoundationSettings

    Constructors

    UiToggleableParameters()

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

    Declaration
    public UiToggleableParameters()

    UiToggleableParameters(bool)

    Initializes a new instance of the UiToggleableParameters class with the specified value.

    Declaration
    public UiToggleableParameters(bool value)
    Parameters
    Type Name Description
    bool value

    The current value of the toggleable component.

    Fields

    Guid

    Declaration
    public string Guid
    Field Value
    Type Description
    string

    The globally unique identifier (GUID) of the component.

    Id

    Declaration
    public string Id
    Field Value
    Type Description
    string

    The unique identifier of the component.

    Value

    Declaration
    public bool Value
    Field Value
    Type Description
    bool

    The current value of the toggleable component (true for on, false for off).

    Implements

    IUiToggleableParameters
    IComponentParameters
    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved