alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ActionCompletedEventArgs

    Provides data for the ActionCompleted event, raised after a Spreadsheet action has been successfully completed.

    Inheritance
    object
    ActionCompletedEventArgs
    ActionBeginningEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Spreadsheet
    Assembly: Syncfusion.Blazor.Spreadsheet.dll
    Syntax
    public class ActionCompletedEventArgs
    Remarks

    This class contains information about a Spreadsheet action that has completed.

    It provides access to the action name, selected range, and worksheet name for the completed action.

    Use this event to perform auditing, logging, workflow integration, and post-processing operations after an action has completed.

    Examples

    This example demonstrates how to log completed Spreadsheet actions.

    <SfSpreadsheet ActionCompleted="OnActionCompleted">
        <SpreadsheetRibbon></SpreadsheetRibbon>
    </SfSpreadsheet>
    
    @code {
        private void OnActionCompleted(ActionCompletedEventArgs args)
        {
            // Log the completed action with its context
            Console.WriteLine($"Completed action: {args.Action} on range {args.Range} in sheet {args.SheetName}");
        }
    }

    Constructors

    ActionCompletedEventArgs()

    Declaration
    public ActionCompletedEventArgs()

    Properties

    Action

    Gets the name of the Spreadsheet action associated with the event.

    Declaration
    public string Action { get; }
    Property Value
    Type Description
    string

    A string representing the action name. The default value is null.

    Remarks

    This property identifies the operation associated with the event.

    Typical values include actions such as Edit, Cut, Copy, Paste, Delete, Sort, Filter, Open, Save, Undo, and Redo.

    You can use this property to conditionally log or route actions to different handlers based on the operation type.

    Range

    Gets the range associated with the action.

    Declaration
    public string Range { get; }
    Property Value
    Type Description
    string

    A string representing the selected range in A1 notation format (e.g., "Sheet1!A1:B10"). The default value is null.

    Remarks

    This property identifies the range of cells associated with the action.

    The range is provided in qualified format including the worksheet name (e.g., "SheetName!A1:C5").

    This is useful for understanding which cells were affected by the completed action.

    SheetName

    Gets the name of the worksheet associated with the action.

    Declaration
    public string SheetName { get; }
    Property Value
    Type Description
    string

    A string representing the worksheet name. The default value is null.

    Remarks

    This property identifies the worksheet in which the action is performed.

    In multi-sheet workbooks, this property helps track which sheet was affected by the action.

    You can use this property to implement sheet-specific auditing or logging logic.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved