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.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public FormatInfoCollection PredefinedColorScaleFormats { get; set; }

Property Value

Type Description
FormatInfoCollection

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

Remarks

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