The requested page is not available for the requested platform. You are viewing the content for Default platform.

IModelMember.Expression Property

Specifies an expression used to calculate the custom field value.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[ModelBrowsable(typeof(ModelMemberVisibilityCalculator))]
[Required(typeof(ModelMemberRequiredCalculator))]
string Expression { get; set; }
<ModelBrowsable(GetType(ModelMemberVisibilityCalculator))>
<Required(GetType(ModelMemberRequiredCalculator))>
Property Expression As String

Property Value

Type Description
String

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

Remarks

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