Class UiSlideableActions
Implementation of IUiSlideableActions to handle UI slideable actions.
Inherited Members
Namespace: Serenity.Ui.Application.Components
Assembly: Serenity.Ui.Application.dll
Syntax
public class UiSlideableActions : UiInteractableComponentActions, IUiSlideableActions, IUiInteractableActions, IUiComponentActions, IComponentActions
Constructors
UiSlideableActions()
Initializes a new instance of the UiSlideableActions class with default values.
Declaration
public UiSlideableActions()
UiSlideableActions(Action<IUiComponent, float>, Action<IUiComponent, float>, Action<IUiComponent, float>)
Initializes a new instance of the UiSlideableActions class with the specified actions.
Declaration
public UiSlideableActions(Action<IUiComponent, float> onValueChange = null, Action<IUiComponent, float> onMinimumValueChange = null, Action<IUiComponent, float> onMaximumValueChange = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<IUiComponent, float> | onValueChange | The action to be executed when the value changes. |
| Action<IUiComponent, float> | onMinimumValueChange | The action to be executed when the minimum value changes. |
| Action<IUiComponent, float> | onMaximumValueChange | The action to be executed when the maximum value changes. |
Properties
OnMaximumValueChange
The action to be invoked when the maximum value changes.
Declaration
public Action<IUiComponent, float> OnMaximumValueChange { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent, float> | The action to be executed when the maximum value changes. |
OnMinimumValueChange
The action to be invoked when the minimum value changes.
Declaration
public Action<IUiComponent, float> OnMinimumValueChange { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent, float> | The action to be executed when the minimum value changes. |
OnValueChange
The action to be invoked when the value changes.
Declaration
public Action<IUiComponent, float> OnValueChange { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent, float> | The action to be executed when the value changes. |