Class UiSubmittableActions
Implementation of IUiSubmittableActions to handle UI submittable actions.
Inherited Members
Namespace: Serenity.Ui.Application.Components
Assembly: Serenity.Ui.Application.dll
Syntax
public class UiSubmittableActions : IUiSubmittableActions, IUiInteractableActions, IUiComponentActions, IComponentActions
Constructors
UiSubmittableActions()
Initializes a new instance of the UiSubmittableActions class with default values.
Declaration
public UiSubmittableActions()
UiSubmittableActions(Action<IUiComponent>)
Initializes a new instance of the UiSubmittableActions class with the specified actions.
Declaration
public UiSubmittableActions(Action<IUiComponent> onSubmit = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<IUiComponent> | onSubmit | The action to be executed when the component is submitted. |
Properties
Awake
The action to be invoked when the component is awakened.
Declaration
public Action<IUiComponent> Awake { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component is awakened. |
Cancel
Cancels the current operation on the component.
Declaration
public Action<IUiComponent> Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component operation is canceled. |
DecrementValue
Decrements the value of the component.
Declaration
public Action<IUiComponent> DecrementValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when decrementing the component's value. |
IncrementValue
Increments the value of the component.
Declaration
public Action<IUiComponent> IncrementValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when incrementing the component's value. |
OnBlur
The action to be invoked when the component loses focus.
Declaration
public Action<IUiComponent> OnBlur { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component loses focus. |
OnDestroy
The action to be invoked when the component is destroyed.
Declaration
public Action<IUiComponent> OnDestroy { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component is destroyed. |
OnDisable
The action to be invoked when the component is disabled.
Declaration
public Action<IUiComponent> OnDisable { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component is disabled. |
OnDraggingEnd
The action to be invoked when dragging ends.
Declaration
public Action<IUiComponent> OnDraggingEnd { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when dragging ends. |
OnDraggingStart
The action to be invoked when dragging starts.
Declaration
public Action<IUiComponent> OnDraggingStart { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when dragging starts. |
OnEnable
The action to be invoked when the component is enabled.
Declaration
public Action<IUiComponent> OnEnable { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component is enabled. |
OnFocus
The action to be invoked when the component receives focus.
Declaration
public Action<IUiComponent> OnFocus { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component receives focus. |
OnSubmit
The action to be invoked when the component is submitted.
Declaration
public Action<IUiComponent> OnSubmit { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component is submitted. |
SelectComponentById
Selects a component by its identifier.
Declaration
public Action<IUiComponent, string> SelectComponentById { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent, string> | The action to be executed when a component is selected by its ID. |
SelectNextComponent
Selects the next component in the sequence.
Declaration
public Action<IUiComponent> SelectNextComponent { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when selecting the next component. |
SelectPreviousComponent
Selects the previous component in the sequence.
Declaration
public Action<IUiComponent> SelectPreviousComponent { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when selecting the previous component. |
Submit
Submits the component.
Declaration
public Action<IUiComponent> Submit { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component is submitted. |
Update
The action to be invoked when the component is updated.
Declaration
public Action<IUiComponent> Update { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | The action to be executed when the component is updated. |