Class GridChangeCellsCommand
Holds undo information about a previous ChangeCells(GridRangeInfo, GridStyleInfo[], StyleModifyType) operation.
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridChangeCellsCommand : GridModelCommand
Remarks
The Execute() method will call ChangeCells(GridRangeInfo, GridStyleInfo[], StyleModifyType) with information stored in this object and scroll the affect range into the current grid view.
Constructors
GridChangeCellsCommand(GridModel, GridRangeInfo, GridStyleInfo[], StyleModifyType)
Initializes the GridChangeCellsCommand with information how to execute a ChangeCells(GridRangeInfo, GridStyleInfo[], StyleModifyType) command at a later time.
Declaration
public GridChangeCellsCommand(GridModel table, GridRangeInfo range, GridStyleInfo[] cellsInfo, StyleModifyType modifyType)
Parameters
Type | Name | Description |
---|---|---|
GridModel | table | The GridModel 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 | modifyType | A StyleModifyType that specifies the style operation to be performed. |
Methods
Execute()
Executes the command.
Declaration
public override void Execute()