Class SpreadsheetEvents
Inheritance
Namespace: Syncfusion.Blazor.Spreadsheet
Assembly: Syncfusion.Blazor.dll
Syntax
public class SpreadsheetEvents : OwningComponentBase
Constructors
SpreadsheetEvents()
Declaration
public SpreadsheetEvents()
Properties
BeforeCutCopyAction
Gets or sets an event callback that is raised before a copy or cut operation is performed.
Declaration
public EventCallback<BeforeCutCopyActionEventArgs> BeforeCutCopyAction { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforeCutCopyActionEventArgs> | An event callback function that is triggered before a copy or cut operation. |
Remarks
This event is triggered before the copy or cut action takes place. The event handler receives a BeforeCutCopyActionEventArgs object, which provides details of the intended copy or cut action.
You can cancel the action by setting the Cancel property to true
.
BeforePasteAction
Gets or sets an event callback that is raised before a paste operation is performed.
Declaration
public EventCallback<BeforePasteActionEventArgs> BeforePasteAction { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforePasteActionEventArgs> | An event callback function that is triggered before the paste operation. |
Remarks
This event is triggered before the paste action takes place. The event handler receives a BeforePasteActionEventArgs object, which provides details about the paste operation. You can cancel the paste action by setting the Cancel property to true
.
Destroyed
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
OnResizeStart
Gets or sets an event callback that is raised when column resizing starts.
Declaration
public EventCallback<ResizeArgs> OnResizeStart { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ResizeArgs> | An event callback function. |
Remarks
This event handler receives a ResizeArgs object which provides the details of the resizing column. You can prevent the resize action using Cancel.
Parent
Declaration
protected SfSpreadsheet Parent { get; set; }
Property Value
Type |
---|
SfSpreadsheet |
ResizeStopped
Gets or sets an event callback that is raised when the column resizing ends.
Declaration
public EventCallback<ResizeArgs> ResizeStopped { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ResizeArgs> | An event callback function. |
Remarks
This event handler receives a ResizeArgs object which provides the details of the resized column. You can prevent the resize action using Cancel.
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |