Skip to main content

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

NuGet Package: DevExpress.Wpf.Grid.Core

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