Class HistoryAutoFitColumnCommand
Class which holds the memory transaction history of AutofitColumn Command.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.History
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class HistoryAutoFitColumnCommand : HistoryCommand
Constructors
HistoryAutoFitColumnCommand(IRange, SfSpreadsheet, Boolean)
Initializes a new instance of the HistoryAutoFitColumnCommand class.
Declaration
public HistoryAutoFitColumnCommand(IRange range, SfSpreadsheet sfSpreadsheet, bool isAutofit)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | Range to autofit. |
SfSpreadsheet | sfSpreadsheet | An instance of SfSpreadsheet. |
System.Boolean | isAutofit | True or False. |
Methods
Execute(CommandMode)
Execute the 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). |