Class ActionBeginEventArgs<TValue>
Provides information for the OnActionBegin
event.
Inheritance
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 |
|
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.