Class SpreadsheetModelRemoveRowsCommand
Holds undo information about a previous "GridModelRowColOperations.InsertRange" operation.
Inheritance
System.Object
SpreadsheetModelRemoveRowsCommand
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 SpreadsheetModelRemoveRowsCommand : GridModelRemoveRowsCommand
Constructors
SpreadsheetModelRemoveRowsCommand(SpreadsheetGridModel, Int32, Int32)
Initializes the SpreadsheetModelRemoveRowsCommand with information how to execute a "GridModelRowColOperations.RemoveRange" command at a later time and associates it with a "GridModelRowColOperations" instance.
Declaration
public SpreadsheetModelRemoveRowsCommand(SpreadsheetGridModel model, int from, int count)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetGridModel | model | The SpreadsheetGridModel this command is associated with. |
System.Int32 | from | First row index in range. |
System.Int32 | count | Last row index in range. |
Methods
Execute()
Executes the command.
Declaration
public override void Execute()