windowsforms-devexpress-dot-xtraeditors-dot-formatconditionruleexpression.md
Gets or sets a Boolean expression. When the expression evaluates to true , a format is applied to cells.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue("")]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public string Expression { get; set; }
<DXCategory("Behavior")>
<DefaultValue("")>
<XtraSerializableProperty>
Public Property Expression As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A string that specifies the Boolean expression.
|
Use the Expression property to specify a Boolean expression. If a cell value (or row values) meets the expression, the format is applied to a target cell(s).
See the Expression Editor Customization and Criteria Language Syntax documents to learn more about the syntax of expressions.
To make it easy to create expressions, the Expression Editor can be used.
Note
See Also
Expression Editor Customization
FormatConditionRuleExpression Class