Class UiSelectableActions
Implementation of IUiSelectableActions to handle UI selectable actions.
Inherited Members
Namespace: Serenity.Ui.Application.Components
Assembly: Serenity.Ui.Application.dll
Syntax
public class UiSelectableActions : UiInteractableComponentActions, IUiSelectableActions, IUiInteractableActions, IUiComponentActions, IComponentActions
Constructors
UiSelectableActions()
Initializes a new instance of the UiSelectableActions class with default values.
Declaration
public UiSelectableActions()
UiSelectableActions(Action<IUiComponent, int>, Action<IUiComponent, ConfigurationEntry[]>)
Initializes a new instance of the UiSelectableActions class with the specified actions.
Declaration
public UiSelectableActions(Action<IUiComponent, int> onValueChange = null, Action<IUiComponent, ConfigurationEntry[]> onSelectableValuesChange = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<IUiComponent, int> | onValueChange | The action to be executed when the value changes. |
| Action<IUiComponent, ConfigurationEntry[]> | onSelectableValuesChange | The action to be executed when the selectable values change. |
Properties
OnSelectableValuesChange
The action to be invoked when the selectable values change.
Declaration
public Action<IUiComponent, ConfigurationEntry[]> OnSelectableValuesChange { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent, ConfigurationEntry[]> | The action to be executed when the selectable values change. |
OnValueChange
The action to be invoked when the value changes.
Declaration
public Action<IUiComponent, int> OnValueChange { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent, int> | The action to be executed when the value changes. |