Back to Devexpress

BaseView.FormatConditions Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-0eb02e82.md

latest2.6 KB
Original Source

BaseView.FormatConditions Property

Gets the collection of style format conditions for a View.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[XtraSerializableProperty(XtraSerializationVisibility.Collection, true, false, true, 1000, XtraSerializationFlags.DefaultValue)]
[XtraSerializablePropertyId(1)]
public virtual StyleFormatConditionCollection FormatConditions { get; }
vb
<Browsable(False)>
<XtraSerializableProperty(XtraSerializationVisibility.Collection, True, False, True, 1000, XtraSerializationFlags.DefaultValue)>
<XtraSerializablePropertyId(1)>
Public Overridable ReadOnly Property FormatConditions As StyleFormatConditionCollection

Property Value

TypeDescription
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.

See Also

StyleFormatConditionCollection

StyleFormatCondition

FormatRules

Appearance and Conditional Formatting

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace