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