officefileapi-devexpress-dot-spreadsheet-d05b1106.md
Specifies how to delete cells from a worksheet.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum DeleteMode
Public Enum DeleteMode
| Name | Description |
|---|---|
ShiftCellsLeft |
When deleting cells from a worksheet, other cells in the same row are shifted to the left.
|
| ShiftCellsUp |
When deleting cells from a worksheet, other cells in the same column are shifted up.
|
| EntireRow |
Entire rows containing the specified cell range are deleted.
|
| EntireColumn |
Entire columns containing the specified cell range are deleted.
|
The DeleteMode enumeration values are used by the Worksheet.DeleteCells method. For details, refer to the How to: Delete a Cell or Range of Cells and How to: Delete a Row or Column from a Worksheet examples.
See Also