Skip to main content

CompatibilitySettings.AllowEditTextExpressionInFormatRule Property

Gets or sets whether users can edit a format condition’s expression text.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v22.2.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.Win.Dashboard.Design, DevExpress.Win.Design

Declaration

public static bool AllowEditTextExpressionInFormatRule { get; set; }

Property Value

Type Default Description
Boolean false

true to allow users to edit a format condition’s expression text; otherwise, false.

Remarks

Users cannot edit a format condition’s expression text:

Conditional Formatting Menu - Custom Condition

Users still can invoke an expression editor and change the expression there:

Expression Editor Change Expression

Set the AllowEditTextExpressionInFormatRule property to true to allow users to edit an expression’s text:

Edit Text Expression

See Also