Skip to main content

PivotGridControl.PredefinedDataBarFormats Property

Contains predefined data bar formats that are used to fill cells with bars whose lengths are proportional to the cell values. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid


public FormatInfoCollection PredefinedDataBarFormats { get; set; }

Property Value

Type Description

A FormatInfoCollection object that is the collection of predefined data bar formats.


The following predefined data bar formats are available by default for the DataBarFormatCondition format condition type:

  • BlueGradientDataBar
  • GreenGradientDataBar
  • RedGradientDataBar
  • OrangeGradientDataBar
  • LightBlueGradientDataBar
  • PurpleGradientDataBar
  • BlueSolidDataBar
  • GreenSolidDataBar
  • RedSolidDataBar
  • OrangeSolidDataBar
  • LightBlueSolidDataBar
  • PurpleSolidDataBar

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

See Also