View on GitHub

dotnet-eud

.NET Controls End-User Documentation

Apply Cell Conditional Formatting

You can highlight certain column cells that meet a specific condition using the Conditional Formatting menu. To invoke this menu, right-click the column to which a formatting rule should be applied and select Conditional Formatting.

EUDTreeListConditionalFormattingMenu

Available format rules are displayed when expanding the Conditional Formatting menu. Different options are supported for different columns (depending on the type of data a clicked column displays).

Highlighting Cells that Meet a Specific Condition

Highlighting Top or Bottom Cell Values

Highlighting Unique or Duplicate Cell Values

Highlighting Cells Using Data Bars

A data bar fills a cell according to the ratio of the cell’s value to the highest and smallest column values. A longer bar corresponds to a higher value, and a shorter bar corresponds to a lower value.

To apply a data bar format, do the following:

Applying Color Scales

This format shows data distribution and variation using color scales. A cell is filled with the background color that is calculated according to the ratio of the cell’s value to the highest and smallest column values. A two-color scale specifies two colors, which represent the minimum and maximum column values. Cell values residing between the minimum and maximum values are painted using a shade of these colors. A three-color scale additionally defines a color for the middle value and so, uses a gradation of three colors.

Highlighting Cells Using Predefined Icons

Icon sets allow you to classify column values into several ranges separated by threshold values, and display a specific icon in a column cell according to the range to which this cell value belongs. In the Positive/Negative group, the available icon sets divide column values into three ranges: positive values, negative values and values equal to zero.

Other icon sets divide column values into three, four or five ranges, displaying a specific icon for each range. If an icon set contains three icons, the ranges are as follows: [0%-33%), [33%-67%) and [67%-100%], where 0% corresponds to the smallest column value and 100% corresponds to the largest column value. The icon sets with four icons classify column values into four ranges: [0%-25%), [25%-50%), [50%-75%) and [75%-100%]. For the icon sets that contain five icons, the target ranges are: [0%-20%), [20%-40%), [40%-60%), [60%-80%) and [80%-100%].

Deleting Rules

If you have already applied one or more rules to columns, the additional Clear Rules item is displayed at the second level of the Conditional Formatting menu.

EUDGridControlClearRulesMenuItem

You can do one of the following.