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

Declaration

public FormatInfoCollection PredefinedFormats { get; set; }
Public Property PredefinedFormats As FormatInfoCollection

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.

Implements

DevExpress.Xpf.Core.ConditionalFormatting.Native.IFormatsOwner.PredefinedFormats
See Also