Class GridModelRemoveRangeCommand
Holds undo information about a previous InsertRange(Int32, Int32) 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 GridModelRemoveRangeCommand : GridModelCommand
Remarks
The Execute() method will call RemoveRange(Int32, Int32) with information stored in this object and scroll the affect range into the current grid view.
Constructors
GridModelRemoveRangeCommand(GridModelRowColOperations, Int32, Int32)
Initializes the new instances ofGridModelRemoveRangeCommand with information how to execute a RemoveRange(Int32, Int32) command at a later time and associates it with a GridModelRowColOperations instance.
Declaration
public GridModelRemoveRangeCommand(GridModelRowColOperations rco, int from, int last)
Parameters
Type | Name | Description |
---|---|---|
GridModelRowColOperations | rco | The GridModelRowColOperations this command is associated with. |
System.Int32 | from | The first row or column. |
System.Int32 | last | The last row or column. |
Methods
Execute()
Executes the command.
Declaration
public override void Execute()