Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, 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