A newer version of this page is available. Switch to the current version.

CalculatedField Class

Provides the functionality for calculated fields.

Namespace: DevExpress.Snap.Core.API

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

Declaration

public class CalculatedField :
    IDisplayNamePropertyContainer,
    IComponent,
    IDisposable,
    ICalculatedField,
    INotifyPropertyChanged,
    ICloneable<CalculatedField>

The following members accept/return CalculatedField objects:

Remarks

The CalculatedField class allows you to specify a logical expression for a calculated field. In a Snap project, this expression is defined by the Expression Editor.

Snap-ExpressionEditor

Calculated fields are contained in the CalculatedFieldCollection. Use the DataSourceInfo.CalculatedFields property to access the data source’s calculated fields. The IDataSourceOwner.CalculatedFields property obtains the snap document’s collection of calculated fields.

A calculated field created from the UI is added to the data source’s collection.

Inheritance

Object
CalculatedField
See Also