Class SpreadsheetTableFormatCommand
Holds undo information about a previous IListObject.
Inheritance
System.Object
SpreadsheetTableFormatCommand
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.Controls.Spreadsheet
Assembly: Syncfusion.Spreadsheet.WPF.ClientProfile.dll
Syntax
public class SpreadsheetTableFormatCommand : GridChangeCellsCommand
Constructors
SpreadsheetTableFormatCommand(SpreadsheetGridModel, GridRangeInfo, GridStyleInfo[], StyleModifyType, IListObject)
Initializes the SpreadsheetTableFormatCommand with information about table format.
Declaration
public SpreadsheetTableFormatCommand(SpreadsheetGridModel table, GridRangeInfo range, GridStyleInfo[] cellsInfo, StyleModifyType type, IListObject tableFormat)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetGridModel | table | The SpreadsheetGridModel this command is associated with. |
GridRangeInfo | range | A GridRangeInfo that specifies the range of cells. |
GridStyleInfo[] | cellsInfo | The array of GridStyleInfo objects that holds cell information. |
StyleModifyType | type | A StyleModifyType that specifies the style operation to be performed. |
IListObject | tableFormat | A IListObject that specifies the table format to be performed. |
Fields
gridCellsInfo
Declaration
public GridStyleInfo[] gridCellsInfo
Field Value
Type |
---|
GridStyleInfo[] |
gridRange
Declaration
public GridRangeInfo gridRange
Field Value
Type |
---|
GridRangeInfo |
worksheet
Declaration
public IWorksheet worksheet
Field Value
Type |
---|
IWorksheet |
Methods
Execute()
Declaration
public override void Execute()