TreeListView.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.v21.1.dll


public FormatInfoCollection PredefinedFormats { get; set; }

Property Value

Type Description

A FormatInfoCollection object that is the collection of formats.


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