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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public FormatInfoCollection PredefinedFormats { get; set; }

Property Value

Type Description
FormatInfoCollection

A FormatInfoCollection object that is the collection of predefined formats.

Remarks

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