menu

Blazor

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

    Show / Hide Table of Contents

    Class ActionBeginEventArgs<TValue>

    Provides information for the OnActionBegin event.

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

    The type of the value being edited.

    Remarks

    This event is triggered before the editor action (like submitting data) begins. It allows for canceling the action or inspecting the data.

    Constructors

    ActionBeginEventArgs()

    Declaration
    public ActionBeginEventArgs()

    Properties

    Cancel

    Gets or sets a value that indicates whether the event should be canceled.

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

    true to cancel the event; otherwise, false. The default value is true, which prevents the action from continuing unless explicitly set to false.

    Remarks

    This property must be set to false within the event handler to allow the editor action to proceed.

    Data

    Gets or sets the data associated with the action, including the edited value and primary key.

    Declaration
    public InPlaceEditorRequestData<TValue> Data { get; set; }
    Property Value
    Type Description
    InPlaceEditorRequestData<TValue>

    An InPlaceEditorRequestData<TValue> object containing event data.

    Remarks

    This property provides the necessary context about the data being modified, such as its primary key and new value.

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