Skip to main content

FormatConditionRuleValue.Value1 Property


Deserializing layout settings from untrusted resources may create security issues. Serializable System.Object properties that contain custom type values are not (de)serialized automatically. Review the following help topic for information on how to (de)serialize custom type values: Safe Deserialization.

Gets or sets the first constant that is compared with column values.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public object Value1 { get; set; }

Property Value

Type Default Description
Object null

A value that is compared with column values.


Column cells are compared with the Value1 value using the FormatConditionRuleValue.Condition comparison operator. Specific comparison operators require two values. In this case, use Value1 along with FormatConditionRuleValue.Value2.

The Value1 and FormatConditionRuleValue.Value2 properties are not supported if the FormatConditionRuleValue.Condition property is set to None or Expression.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value1 property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also