FormatConditionRuleValue.Value1 Property
SECURITY NOTE
Deserializing layout settings from untrusted resources may create security issues. Serializable System.
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.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(null)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public object Value1 { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Object | null | A value that is compared with column values. |
#Remarks
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.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value1 property.
Note
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.