A newer version of this page is available. Switch to the current version.

TableView.PredefinedFormats Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.dll

Declaration

public FormatInfoCollection PredefinedFormats { get; set; }

Property Value

Type Description
FormatInfoCollection

A FormatInfoCollection object that is the collection of formats.

Remarks

The following predefined formats are stored within the PredefinedFormats collection by default:

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

See the Specifying Formats section in the Conditional Formats topic to learn how to create a custom collection of predefined formats.

See Also