RangeSet Class
In This Article
A collection of RangeInfo objects providing custom range boundaries and corresponding style settings used to apply conditional formatting to value ranges.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
#Declaration
#Related API Members
The following members return RangeSet objects:
#Remarks
Range conditions (FormatConditionRangeBase descendants) allow you to apply formatting using a predefined set of value ranges and corresponding style settings. You can use a predefined set of colors/icons to apply formatting or use custom ranges and corresponding icons/colors.
To use custom range boundaries and the required style specified for each range, do the following.
- Specify whether an absolute or percent scale is used to define range boundaries using the FormatConditionRangeBase.ValueType property.
- Create the required number of RangeInfo objects that are the ranges containing boundary values (the RangeInfo.Value property), a comparison logic (RangeInfo.ValueComparison) and style setting applied to range values (RangeInfo.StyleSettings).
- Add initialized RangeInfo objects to the FormatConditionRangeBase.RangeSet collection.
- Assign the resulting FormatConditionRangeBase descendant to the DashboardItemFormatRule.Condition property.
#Inheritance
See Also