Class GridCurrentCellValueCommand
Holds undo information about the current cells value.
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 GridCurrentCellValueCommand : GridModelCommand
Remarks
The Execute() method will call BeginEdit() and then set the associated renderer's ControlValue.
Constructors
GridCurrentCellValueCommand(GridModel, Int32, Int32, Object)
Initializes a new GridSelectionStateCommand with information about current cell position and selected ranges.
Declaration
public GridCurrentCellValueCommand(GridModel table, int currentRow, int currentCol, object value)
Parameters
Type | Name | Description |
---|---|---|
GridModel | table | The GridModel this command is associated with. |
System.Int32 | currentRow | The row index of current cell. |
System.Int32 | currentCol | The column index of current cell. |
System.Object | value | The current cells value. |
Methods
Execute()
This method will call BeginEdit() and then set the associated renderer's ControlValue.
Declaration
public override void Execute()