Class HistoryOrientationCommand
Represents a class that holds the memory transaction history of orientation changes.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.History
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class HistoryOrientationCommand : HistoryCommand
Constructors
HistoryOrientationCommand(IRange, SfSpreadsheet)
Initializes a new instance of the HistoryOrientationCommand class.
Declaration
public HistoryOrientationCommand(IRange range, SfSpreadsheet sfSpreadsheet)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | Specified excel range. |
SfSpreadsheet | sfSpreadsheet | An instance of spreadhsheet control. |
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). |