qertunit.blogg.se

Accuweather bitmap iconset
Accuweather bitmap iconset










accuweather bitmap iconset

They refer to certain predefined icons via the PredefinedName property.

accuweather bitmap iconset

When choosing this predefined icon set (or any other predefined icon set), FormatConditionIconSetIcon objects are added to the IconSet.Icons collection. In this example, the Ratings: Stars3 icon set is selected. The Rule tab allows you to see a preview of the selected icon set. You can do this in the Properties tab or the Rule tab. If required, you can apply formatting to another column by setting the GridFormatRule.ColumnApplyTo property.Ĭhoose one of the predefined icon sets using the FormatConditionRuleIconSet.IconSet property. This column provides values to test against the formatting rule.īy default, this property also specifies the column to which formatting is applied. Set the GridFormatRule.Column property to the Satisfaction column. The format rule’s FormatRuleBase.Rule property will be set to a new FormatConditionRuleIconSet object. Click the Add button to create a new format rule (format rules in a GridControl are encapsulated by GridFormatRule objects).Invoke the Grid Designer and switch to the Style Format Rules page (in the Appearance category). It can also be accessed from the Properties grid by clicking the ellipsis button for the ColumnView.FormatRules property. To create a new formatting rule at design time, invoke the Format Rule Collection Editor from the Grid Designer. In this example, a predefined icon set is used to display empty, half-filled and filled star icons for small (from 0% to 33%), middle (from 33% to 67%) and large (more than 67%) values, respectively.

accuweather bitmap iconset

Accuweather bitmap iconset how to#

This example illustrates how to apply an icon set format to the Satisfaction column in a GridControl at design time using the Grid Designer and in code.Īn icon set format allows you to classify column cell values into several ranges, assign an icon to each range, and display a specific icon in a cell according to the cell value. How to: Apply an Icon Set Format to a Column












Accuweather bitmap iconset