Class GridChangeCellsCommand
Holds undo information about a previous ChangeCells(GridRangeInfo, GridStyleInfo[]) operation.
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.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridChangeCellsCommand : GridModelCommand
Remarks
The Execute() method will call ChangeCells(GridRangeInfo, GridStyleInfo[]) with information stored in this object and scroll the affect range into the current grid view.
Constructors
GridChangeCellsCommand(GridModel, GridRangeInfo, GridStyleInfo[], StyleModifyType)
Initializes the new instances of GridChangeCellsCommand with information how to execute a ChangeCells(GridRangeInfo, GridStyleInfo[]) 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()