Skip to main content
All docs
V23.2

FormatRuleCollection<T, TColumnType>.AddAboveBelowAverageRule(TColumnType, AppearanceDefault, FormatConditionAboveBelowType) Method

Applies a format to values above or below average.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public T AddAboveBelowAverageRule(
    TColumnType column,
    AppearanceDefault appearanceDefault,
    FormatConditionAboveBelowType averageType
)

Parameters

Name Type Description
column TColumnType

A {TColumnType} object that specifies a column (row in a vertical grid) to which the format should be applied.

appearanceDefault DevExpress.Utils.AppearanceDefault

The appearance settings applied to values above average. This value is assigned to the Appearance property.

averageType FormatConditionAboveBelowType

The target range (above or below). This value is assigned to the AverageType property.

Returns

Type Description
T

A {T} object that specifies a format.

See Also