menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ActionEventArgs<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ActionEventArgs<TValue>

    Provides information for the OnActionSuccess and OnActionFailure events.

    Inheritance
    System.Object
    ActionEventArgs<TValue>
    Namespace: Syncfusion.Blazor.InPlaceEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ActionEventArgs<TValue> : Object
    Type Parameters
    Name Description
    TValue

    The type of the value being edited.

    Remarks

    This class contains data related to the outcome of an editor action, such as saving or updating a value.

    Constructors

    ActionEventArgs()

    Declaration
    public ActionEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to prevent the In-place Editor from updating its value after a successful action.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true to prevent the value from being updated in the UI; otherwise, false. The default is false.

    Remarks

    This is useful in scenarios where the UI update is handled manually after the action completes.

    Data

    Gets or sets the original data object associated with the action.

    Declaration
    public object Data { get; set; }
    Property Value
    Type Description
    System.Object

    An object that represents the data related to the completed action.

    Remarks

    For data-bound components, this may contain the underlying data item.

    Value

    Gets or sets the current value of the In-place Editor component.

    Declaration
    public TValue Value { get; set; }
    Property Value
    Type Description
    TValue

    The value of type TValue.

    Remarks

    This property holds the value that was submitted.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved