Skip to main content
All docs
V19.1
.NET Framework 4.5.2+
Row

RangeExtensions.Insert(Range) Method

Inserts the cell range in the worksheet, shifting other cells in the same column down.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public static void Insert(
    this Range range
)

Parameters

Name Type Description
range Range

A Range object specifying a cell range where new cells should be inserted.

Remarks

The Insert method is an extension method of the Range object that is called by using the instance method syntax.

To delete cells, use the RangeExtensions.Delete method.

Another way to insert and delete cells in the worksheet is to use the worksheet’s Worksheet.InsertCells and Worksheet.DeleteCells methods (see the How to: Insert a Cell or Cell Range and How to: Delete a Cell or Range of Cells examples).

See Also