Skip to main content
All docs
V21.2

CalculatedField.DataSource Property

Provides access to the calculated field’s data source.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v21.2.Core.dll

NuGet Package: DevExpress.Snap.Core

Declaration

[Browsable(false)]
public object DataSource { get; }

Property Value

Type Description
Object

A Object value, specifying the calculated field’s data source.

Remarks

Use the DataSource and CalculatedField.DataMember properties to refer to a calculated field’s data source from its CalculatedField.Expression.

To associate a calculated field with a data source, use the CalculatedField.DataSourceName property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataSource 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