menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HistoryInsertCommand - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HistoryInsertCommand

    Class which holds memory transaction history of Insert Command.

    Inheritance
    System.Object
    HistoryCommandBase
    HistoryCommand
    HistoryInsertCommand
    Inherited Members
    HistoryCommand.Description
    HistoryCommand.Pop(CommandMode)
    HistoryCommand.SetDescription(String)
    HistoryCommandBase.Range
    HistoryCommandBase.SfSpreadsheet
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Spreadsheet.History
    Assembly: Syncfusion.SfSpreadsheet.WPF.dll
    Syntax
    public class HistoryInsertCommand : HistoryCommand

    Constructors

    HistoryInsertCommand(IRange, SfSpreadsheet)

    Initializes a new instance of the HistoryInsertCommand class.

    Declaration
    public HistoryInsertCommand(IRange range, SfSpreadsheet sfSpreadsheet)
    Parameters
    Type Name Description
    IRange range

    Specified excel range.

    SfSpreadsheet sfSpreadsheet

    An instance of SfSpreadsheet.

    HistoryInsertCommand(IRange, SfSpreadsheet, GridRangeInfoType)

    Initializes a new instance of the HistoryInsertCommand class.

    Declaration
    public HistoryInsertCommand(IRange range, SfSpreadsheet sfSpreadsheet, GridRangeInfoType rangeType)
    Parameters
    Type Name Description
    IRange range

    Specified excel range.

    SfSpreadsheet sfSpreadsheet

    An instance of SfSpreadsheet.

    GridRangeInfoType rangeType

    Type of grid range either rows, cols or table,etc.,

    Methods

    Execute(CommandMode)

    Executes the transaction command in SfSpreadsheet.

    Declaration
    public override void Execute(CommandMode mode)
    Parameters
    Type Name Description
    CommandMode mode

    Holds the current process in SfSpreadsheet(either undo or redo).

    Overrides
    HistoryCommand.Execute(CommandMode)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved