Interface IUiToggleable
Interface for a UI component that can be toggled.
Namespace: Serenity.Ui.Application.Interfaces.Components
Assembly: Serenity.Ui.Application.dll
Syntax
public interface IUiToggleable : IComponent, IFoundationSettings
Properties
ToggleableActions
Gets or sets the actions for the toggleable UI component.
Declaration
IUiToggleableActions ToggleableActions { get; set; }
Property Value
| Type | Description |
|---|---|
| IUiToggleableActions | The actions for the toggleable UI component. |
ToggleableParameters
Gets or sets the parameters for the toggleable UI component.
Declaration
IUiToggleableParameters ToggleableParameters { get; set; }
Property Value
| Type | Description |
|---|---|
| IUiToggleableParameters | The parameters for the toggleable UI component. |
Value
Gets or sets the value of the UI component.
Declaration
bool Value { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | The current value of the UI component. |
Methods
Toggle()
Toggles the UI component.
Declaration
void Toggle()