ResourceColorIntensityValues Constant
Specifies the intensity of colors used to paint time blocks in the scheduling area.
Declaration
const ResourceColorIntensityValues: array[TcxSchedulerViewStyle] of array[TSchedulerResourceColor] of Integer = ((80, 65, 85, 70, 90, 100), (80, 80, 80, 80, 90, 100));
Returns
| Type |
|---|
| array[TcxSchedulerViewStyle] of array[TSchedulerResourceColor] of Integer |
Remarks
Each resource is painted with the color specified via the TcxSchedulerStorageResourceItem.Color property from a set of built-in resource colors, enumerated by the PredefinedResourceColors.
Within a resource, different content areas can be painted with a different color intensity (specified via the ResourceColorIntensityValues constant) to facilitate end-users identifying them.
Intensity values are relative, and must be specified in a range from 0 (black) through to 100 (an element is painted with the specified resource color).
Values include:
| Value | Meaning |
|---|---|
| srcMinorNonWorkTimeSeparator | Time ruler’s minor tick marks displayed in the scheduling area’s non-work time section. |
| srcMajorNonWorkTimeSeparator | Time ruler’s major tick marks displayed in the scheduling area’s non-work time section. |
| srcMinorWorkTimeSeparator | Time ruler’s minor tick marks displayed in the scheduling area’s work time section. |
| srcMajorWorkTimeSeparator | Time ruler’s major tick marks displayed in the scheduling area’s work time section. |
| srcNonWorkTime | Time blocks displayed in the scheduling area’s non-work time section. |
| srcWorkTime | Time blocks displayed in the scheduling area’s work time section. |
Use the ResourceColorIntensityValues constant to customize the colors of time block elements.
See Also