Skip to main content
All docs
V21.2

CalculatedField Class

Provides the functionality for calculated fields.

Namespace: DevExpress.Snap.Core.API

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

NuGet Package: DevExpress.Snap.Core

Declaration

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

The following members 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