.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelMember.Expression Property

Specifies an expression used to calculate the custom field value.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.2.dll


string Expression { get; set; }
Property Expression As String

Property Value

Type Description

A string that is an expression used to calculate the field value.


The Expression property is visible in the Model Editor for custom calculated fields only.

To define a calculated field, set the IModelMember.IsCalculated property to true and pass the expression used to compute this field value to the Expression property. Click the ellipsis button located to the right of the property value to invoke the Expression Editor dialog. In this editor, you can select functions, operators and operands using the editor controls.

See Also