Skip to main content
Row

WorksheetDataBinding.Range Property

Gets the worksheet range associated with the current WorksheetDataBinding instance.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

CellRange Range { get; }

Property Value

Type Description
CellRange

A CellRange object that is a cell range associated with a data source.

Remarks

The range may include cells which are not bound to data. This happens when the range contains hidden columns or rows and the DataSourceOptionsBase.SkipHiddenColumns or DataSourceOptionsBase.SkipHiddenRows option is turned on when calling the WorksheetDataBindingCollection.BindToDataSource method.

A range used for data binding cannot have merged cells.

The SpreadsheetControl does not indicate the range visually.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Range property.

Note

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.

See Also