CalculatedField.DataSourceName Property
Associates the CalculatedField with a data source.
Namespace: DevExpress.Snap.Core.API
Assembly: DevExpress.Snap.v21.2.Core.dll
NuGet Package: DevExpress.Snap.Core
Declaration
Property Value
Type | Description |
---|---|
String | A String value, specifying the data source name. |
Remarks
If a specified name matches different data sources from both the SnapControl.DataSources and SnapDocument.DataSources collections, only the SnapDocument‘s data source is considered and assigned to the calculated field.
The calculated fields that belong to a SnapDocument‘s data source collection can access the data sources from the SnapControl‘s collection, but not vice versa.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataSourceName 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.