CellRange.Offset(Int32, Int32) Method
Returns the cell range that is offset by the specified number of rows and columns from the current range.
An integer that specifies the number of rows by which the cell range should be offset (positive value - range is offset down, negative value - range is offset up, zero - range is not offset vertically).
An integer that specifies the number of columns by which the cell range should be offset (positive value - range is offset to the right, negative value - range is offset to the left, zero - range is not offset horizontally).
A CellRange object that specifies the copy of the current range (by size) which is offset.
Use the Offset method to access the cell range of the same size as the current range which is shifted by the specified number of rows and columns.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Offset(Int32, Int32) method.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.