logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiEditableActions

    Implementation of IUiEditableActions to handle UI editable actions.

    Inheritance
    object
    UiEditableActions
    Implements
    IUiEditableActions
    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 UiEditableActions : IUiEditableActions, IComponentActions

    Constructors

    UiEditableActions()

    Declaration
    public UiEditableActions()

    UiEditableActions(Action<IUiComponent, string>, Action<IUiComponent>, Action<IUiComponent>)

    Initializes a new instance of the UiEditableActions class with the specified actions.

    Declaration
    public UiEditableActions(Action<IUiComponent, string> onEdit, Action<IUiComponent> onStartEdition, Action<IUiComponent> onEndEdition)
    Parameters
    Type Name Description
    Action<IUiComponent, string> onEdit

    The action to be executed when the UI component is edited.

    Action<IUiComponent> onStartEdition

    The action to be executed when the UI component enters edit mode.

    Action<IUiComponent> onEndEdition

    The action to be executed when the UI component exits edit mode.

    Properties

    OnEdit

    Occurs when the UI component is edited.

    Declaration
    public Action<IUiComponent, string> OnEdit { get; set; }
    Property Value
    Type Description
    Action<IUiComponent, string>

    The action to be executed when the UI component is edited.

    OnEndEdition

    Occurs when the UI component exits edit mode.

    Declaration
    public Action<IUiComponent> OnEndEdition { get; set; }
    Property Value
    Type Description
    Action<IUiComponent>

    The action to be executed when the UI component exits edit mode.

    OnStartEdition

    Occurs when the UI component enters edit mode.

    Declaration
    public Action<IUiComponent> OnStartEdition { get; set; }
    Property Value
    Type Description
    Action<IUiComponent>

    The action to be executed when the UI component enters edit mode.

    Implements

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