Class UiCancellableActions
Implementation of IUiCancellableActions to handle UI cancellation actions.
Inherited Members
Namespace: Serenity.Ui.Application.Components
Assembly: Serenity.Ui.Application.dll
Syntax
public class UiCancellableActions : IUiCancellableActions, IComponentActions
Constructors
UiCancellableActions()
Initializes a new instance of the UiCancellableActions class with no cancel action.
Declaration
public UiCancellableActions()
UiCancellableActions(Action<IUiComponent>)
Initializes a new instance of the UiCancellableActions class with the specified cancel action.
Declaration
public UiCancellableActions(Action<IUiComponent> onCancel)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<IUiComponent> | onCancel | The action to be executed when the UI component is cancelled. |
Properties
OnCancel
The action to be executed when the UI component is cancelled.
Declaration
public Action<IUiComponent> OnCancel { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IUiComponent> | Action that takes an IUiComponent as a parameter and returns void. |