Skip to main content

PivotGridControl.PredefinedColorScaleFormats Property

Contains predefined color scale formats that are used to color cells proportional to their values. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v23.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid


public FormatInfoCollection PredefinedColorScaleFormats { get; set; }

Property Value

Type Description

A FormatInfoCollection object that is the collection of predefined color scale formats.


The following predefined formats are available by default for the ColorScaleFormatCondition format condition type:

  • GreenYellowRedColorScale
  • RedYellowGreenColorScale
  • GreenWhiteRedColorScale
  • RedWhiteGreenColorScale
  • BlueWhiteRedColorScale
  • RedWhiteBlueColorScale
  • WhiteRedColorScale
  • RedWhiteColorScale
  • GreenWhiteColorScale
  • WhiteGreenColorScale
  • GreenYellowColorScale
  • YellowGreenColorScale

To apply a predefined format, use the FormatConditionBase.PredefinedFormatName property.

See Also