CalculatedField.DataSourceName Property

Associates the CalculatedField with a data source.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v20.1.Core.dll

Declaration

public string DataSourceName { get; set; }
Public Property DataSourceName As String

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