Class HistoryAutoFitColumnCommand
Class which holds the memory transaction history of AutofitColumn Command.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Spreadsheet.History
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class HistoryAutoFitColumnCommand : HistoryCommand
Constructors
HistoryAutoFitColumnCommand(IRange, Spreadsheet, Boolean)
Initializes a new instance of the HistoryAutoFitColumnCommand class.
Declaration
public HistoryAutoFitColumnCommand(IRange range, Spreadsheet sfSpreadsheet, bool isAutofit)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | Range to autofit. |
Spreadsheet | sfSpreadsheet | An instance of Spreadsheet. |
System.Boolean | isAutofit | True or False. |
Methods
Execute(CommandMode)
Execute the command in Spreadsheet.
Declaration
public override void Execute(CommandMode mode)
Parameters
Type | Name | Description |
---|---|---|
CommandMode | mode | Holds the current process in SfSpreadsheet(either undo or redo). |