Class InPlaceEditorEvents<TValue>
Configures the handler to handle the In-place Editor's events.
Inheritance
Namespace: Syncfusion.Blazor.InPlaceEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class InPlaceEditorEvents<TValue> : OwningComponentBase
Type Parameters
Name | Description |
---|---|
TValue | Represents the Inplace Editor data source's type. |
Constructors
InPlaceEditorEvents()
Declaration
public InPlaceEditorEvents()
Properties
BeginEdit
Event triggers before changing edit mode from default.
Declaration
public EventCallback<BeginEditEventArgs> BeginEdit { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeginEditEventArgs> | An event callback function. |
Created
Event triggers once the component rendering is completed.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
Destroyed
Event triggers when the component gets destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
EndEdit
Event triggers when the edit action is finished and begin to submit/cancel the current value.
Declaration
public EventCallback<EndEditEventArgs> EndEdit { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<EndEditEventArgs> | An event callback function. |
OnActionBegin
Event triggers before the data is submitted to the server.
Declaration
public EventCallback<ActionBeginEventArgs<TValue>> OnActionBegin { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ActionBeginEventArgs<TValue>> | An event callback function. |
OnActionFailure
Event triggers when data submission is failed.
Declaration
public EventCallback<ActionEventArgs<TValue>> OnActionFailure { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ActionEventArgs<TValue>> | An event callback function. |
OnActionSuccess
Event triggers when the data is submitted successfully to the server.
Declaration
public EventCallback<ActionEventArgs<TValue>> OnActionSuccess { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ActionEventArgs<TValue>> | An event callback function. |
ValueChange
Event triggers when the integrated component value has changed.
Declaration
public EventCallback<ChangeEventArgs<TValue>> ValueChange { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ChangeEventArgs<TValue>> | An event callback function. |
Methods
Dispose()
Dispose the unmanaged resources.
Declaration
public virtual void Dispose()
Dispose(Boolean)
Dispose the unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |