Class UiToggleableParameters
Implementation of IUiToggleableParameters to hold parameters for a toggleable UI component.
Inherited Members
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). |