HistoryNameRangeCommand Class
Class which holds the memory transaction history of NameRange command.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Spreadsheet.History
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class HistoryNameRangeCommand : HistoryCommand
Constructors
HistoryNameRangeCommand(IRange, Spreadsheet, NameRange, NameRange)
Initializes a new instance of the HistoryNameRangeCommand class.
Declaration
public HistoryNameRangeCommand(IRange range, Spreadsheet sfSpreadsheet, NameRange nameRange, NameRange oldNameRange)
Parameters
| Type | Name | Description |
|---|---|---|
| IRange | range | Specified excel range. |
| Spreadsheet | sfSpreadsheet | An instance of Spreadsheet. |
| NameRange | nameRange | Current NameRange. |
| NameRange | oldNameRange | Existing NameRange. |
Methods
Execute(CommandMode)
Executes the transaction command in Spreadsheet.
Declaration
public override void Execute(CommandMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandMode | mode | Holds the current process in SfSpreadsheet(either undo or redo). |