Class HistoryCommandBase
An abstract class that encapsulates a command to be executed at a later point in time.
Namespace: Syncfusion.UI.Xaml.Spreadsheet.History
Assembly: Syncfusion.SfSpreadsheet.UWP.dll
Syntax
public abstract class HistoryCommandBase : Object
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 SfSpreadsheet SfSpreadsheet { get; }
Property Value
Type | Description |
---|---|
SfSpreadsheet | 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. |