Class HistoryFormatCommand
Class which holds the memory transaction history of Format 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 HistoryFormatCommand : HistoryCommand
Constructors
HistoryFormatCommand(IRange, Spreadsheet)
Initializes a new instance of the HistoryFormatCommand class.
Declaration
public HistoryFormatCommand(IRange range, Spreadsheet sfSpreadsheet)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | Specified excel range. |
Spreadsheet | sfSpreadsheet | An instance of Spreadsheet. |
Properties
ExistingBackColor
Gets or sets the value indicating the background color of the range.
Declaration
public Color ExistingBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | Background color of the range. |
Methods
Execute(CommandMode)
Executes the transaction 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). |