Skip to main content

PivotGridControl.PredefinedFormats Property

Contains predefined formats that are used by conditional formatting rules. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid


public FormatInfoCollection PredefinedFormats { get; set; }

Property Value

Type Description

A FormatInfoCollection object that is the collection of predefined formats.


The following predefined formats are available by default for the FormatCondition and TopBottomRuleFormatCondition format condition types:

  • LightRedFillWithDarkRedText
  • YellowFillWithDarkYellowText
  • GreenFillWithDarkGreenText
  • LightRedFill
  • LightGreenFill
  • RedText
  • GreenText
  • BoldText
  • ItalicText
  • StrikethroughText

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

See Also