Class HistoryCommandBase
An abstract class that encapsulates a command to be executed at a later point in time.
Inherited Members
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.Windows.Forms.Spreadsheet.History
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public abstract class HistoryCommandBase
Constructors
HistoryCommandBase()
Declaration
protected HistoryCommandBase()
Properties
Description
Gets a description for the command.
Declaration
public abstract string Description { get; }
Property Value
Type |
---|
System.String |
Range
Gets the specified excel range for performing undo/redo action
Declaration
public IRange Range { get; }
Property Value
Type |
---|
IRange |
SfSpreadsheet
Gets the instance of SfSpreadsheet .
Declaration
public Spreadsheet SfSpreadsheet { get; }
Property Value
Type | Description |
---|---|
Spreadsheet | An instance of SfSpreadsheet. |
Methods
Execute(CommandMode)
Executes the transaction command in SfSpreadsheet.
Declaration
public abstract void Execute(CommandMode mode)
Parameters
Type | Name | Description |
---|---|---|
CommandMode | mode | Current transaction mode. |