Command that deletes a contiguous range of rows and supports undo by re-inserting blank rows and restoring the cells that were captured before deletion.
Object
Spreadsheet.RangeSnapshotCommandBase
Spreadsheet.DeleteRangeCommandBase
Spreadsheet.DeleteRangeCommandBase.DoExecute
Spreadsheet.DeleteRangeCommandBase.Unexecute
Spreadsheet.DeleteRangeCommandBase.Count
Spreadsheet.DeleteRangeCommandBase.startIndex
Spreadsheet.DeleteRangeCommandBase.endIndex
Spreadsheet.RangeSnapshotCommandBase.Capture
Spreadsheet.RangeSnapshotCommandBase.CaptureRange
Spreadsheet.RangeSnapshotCommandBase.RestoreSnapshot
Spreadsheet.RangeSnapshotCommandBase.Restore
Spreadsheet.RangeSnapshotCommandBase.Execute
Spreadsheet.RangeSnapshotCommandBase.Feature
Namespace: Radzen.Blazor.Spreadsheet
Assembly: Radzen.Blazor.dll
public class DeleteRowsCommand : Spreadsheet.DeleteRangeCommandBase, Spreadsheet.ICommand, Spreadsheet.IProtectedCommandInitializes a new instance of the DeleteRowsCommand class.
public DeleteRowsCommand(Documents.Spreadsheet.Worksheet sheet, int startRowIndex, int endRowIndex)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.Worksheet | sheet | The worksheet to modify. |
| int | startRowIndex | The first row index to delete (inclusive). |
| int | endRowIndex | The last row index to delete (inclusive). |
public Documents.Spreadsheet.SheetAction RequiredAction { get; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.SheetAction |
protected override bool IsInsideRange(Documents.Spreadsheet.CellRef address)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.CellRef | address |
| Type | Description |
|---|---|
| bool |
protected override bool ReferencesRange(Documents.Spreadsheet.Cell cell)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.Cell | cell |
| Type | Description |
|---|---|
| bool |