Skip to main content
A newer version of this page is available. .

BaseView.FormatConditions Property

Gets the collection of style format conditions for a View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[Browsable(false)]
[XtraSerializableProperty(XtraSerializationVisibility.Collection, true, false, true, 1000, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
public virtual StyleFormatConditionCollection FormatConditions { get; }

Property Value

Type Description
StyleFormatConditionCollection

A StyleFormatConditionCollection object representing a collection of style format conditions for a View.

Remarks

The FormatConditions property supports legacy style format conditions. Instead of this feature, we suggest that you use the advanced conditional format rules to highlight cells matching your criteria. These format rules can be created with the ColumnView.FormatRules property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FormatConditions 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.

See Also