logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiCancellableActions

    Implementation of IUiCancellableActions to handle UI cancellation actions.

    Inheritance
    object
    UiCancellableActions
    Implements
    IUiCancellableActions
    IComponentActions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    Implements

    IUiCancellableActions
    IComponentActions
    In this article
    © 2026 Serenity. All Rights Reserved