windowsforms-devexpress-dot-xtraeditors-2eba31c0.md
Applies a format if a cell value is above or below the column’s average.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public class FormatConditionRuleAboveBelowAverage :
FormatConditionRuleAppearanceBase,
IConditionalFilterItemProvider,
IFormatConditionRuleAboveBelowAverage,
IFormatConditionRuleBase
Public Class FormatConditionRuleAboveBelowAverage
Inherits FormatConditionRuleAppearanceBase
Implements IConditionalFilterItemProvider,
IFormatConditionRuleAboveBelowAverage,
IFormatConditionRuleBase
The FormatConditionRuleAboveBelowAverage object allows you to find cell values that are above or below the column’s average.
The FormatConditionRuleAboveBelowAverage.AverageType property specifies a condition (Above, Below, EqualOrAbove, EqualOrBelow).
You can use the FormatConditionRuleAppearanceBase.PredefinedName property to apply one of the predefined style formats (Italic Text, Red Bold Text, Green Fill, Yellow Text with Yellow Fill, etc.), or use the FormatConditionRuleAppearanceBase.Appearance property to provide a custom appearance.
The images below demonstrate examples of applying a FormatConditionRuleAboveBelowAverage format.
See the following documents to learn more.
Object FormatConditionRuleBase FormatConditionRuleAppearanceBase FormatConditionRuleAboveBelowAverage
See Also
FormatConditionRuleAboveBelowAverage Members