Skip to main content
A newer version of this page is available. .
Row

Worksheet.DataBindings Property

Provides access to the collection of WorksheetDataBinding objects.

Namespace: DevExpress.Spreadsheet

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

Declaration

WorksheetDataBindingCollection DataBindings { get; }

Property Value

Type Description
WorksheetDataBindingCollection

A WorksheetDataBindingCollection object that is the collection of all data bindings specified in a worksheet.

Remarks

Use the DataBindings property to get access to the WorksheetDataBindingCollection collection, which stores all data bindings specified in a worksheet. To bind a cell range in a worksheet to a data source, use the WorksheetDataBindingCollection.BindToDataSource method.

To use a cell range as a data source for a data-aware control, create a data source object from the required cell range using the WorksheetDataBindingCollection.CreateDataSource method.

For more information on the data binding functionality of the SpreadsheetControl, refer to the Data Binding topic.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DataBindings 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