Skip to main content

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