Class ActionEventArgs<TValue>
Provides information for the OnActionSuccess
and OnActionFailure
events.
Inheritance
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 |
|
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 |
Remarks
This property holds the value that was submitted.