Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ExpressionEditorControl.Expression Property

Gets the current expression.

Namespace: DevExpress.Xpf.Editors.ExpressionEditor

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public string Expression { get; }

#Property Value

Type Description
String

A String that specifies the current expression.

#Remarks

An expression is a string that, when parsed and processed, evaluates some value. Expressions consist of column/field names, constants, operators and functions. Column/field names must be wrapped with brackets. The following are examples of regular expressions:

“[Quantity] * [UnitPrice] * (1 - [BonusAmount])”

“[FirstName] + ‘ ‘ + [LastName]”

Boolean expressions:

“[Country] == ‘USA’”

“[OrderDate] > #8/16/1994# AND [Quantity] > 20”

See Also