Gets the Expression used to calculate the value of the current field.

If this expression is not empty, the field is a calculated field (as opposed to a data field).

Namespace:  C1.C1Preview.DataBinding
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public Expression Expression { get; }
Visual Basic
Public ReadOnly Property Expression As Expression
	Get

Remarks

This property is never null (Nothing in VB), it always returns an Expression object, which has empty Text by default. (A non-empty Text string indicates a calculated field.)

To specify an expression, set its Text property, or the ExpressionText property on the current field.

Either this property or DataField, but not both, should be defined on a DataSetField. In case both properties are defined, DataField is used, and Expression is ignored.

See Also