Class HistoryFormatTableCommand
Class which holds the memory transaction history of format table.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.History
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class HistoryFormatTableCommand : HistoryCommand
Constructors
HistoryFormatTableCommand(SfSpreadsheet, IRange, Boolean, TableBuiltInStyles, Boolean)
Initializes a new instance of the HistoryFormatTableCommand class.
Declaration
public HistoryFormatTableCommand(SfSpreadsheet sfSpreadsheet, IRange range, bool isNewTable, TableBuiltInStyles builtInStyles, bool removeTable = true)
Parameters
Type | Name | Description |
---|---|---|
SfSpreadsheet | sfSpreadsheet | An instance of SfSpreadsheet. |
IRange | range | Excel range. |
System.Boolean | isNewTable | True or False. |
TableBuiltInStyles | builtInStyles | One of the option in Excel 2007 table built in styles. |
System.Boolean | removeTable |
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). |