Skip to main content
All docs
V21.2

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

public string DataSourceName { get; set; }

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.

See Also