property Grid.ConditionalFormats as ConditionalFormats
Retrieves the conditional formatting collection.

TypeDescription
ConditionalFormats A ConditionalFormats object that indicates the control's ConditionalFormats collection.
The conditional formatting feature allows you to apply formats to a cell or range of cells, and have that formatting change depending on the value of the cell or the value of a formula. Use the Add method to format cells or items based on a formula. Use the Refresh method to refresh the control, if a change occurs in the conditional format collection. Use the CellValue property indicates the cell's caption or value.

The conditional format feature may change the cells and items as follows:

The ApplyTo property specifies whether the ConditionalFormat object is applied to items or to a column.