Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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