ResourceColorIntensityValues Constant
In This Article
Specifies the intensity of colors used to paint time blocks in the scheduling area.
#Declaration
Delphi
const ResourceColorIntensityValues: array[TcxSchedulerViewStyle] of array[TSchedulerResourceColor] of Integer = ((80, 65, 85, 70, 90, 100), (80, 80, 80, 80, 90, 100));
#Returns
Type |
---|
array[Tcx |
#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 |
---|---|
src |
Time ruler’s minor tick marks displayed in the scheduling area’s non-work time section. |
src |
Time ruler’s major tick marks displayed in the scheduling area’s non-work time section. |
src |
Time ruler’s minor tick marks displayed in the scheduling area’s work time section. |
src |
Time ruler’s major tick marks displayed in the scheduling area’s work time section. |
src |
Time blocks displayed in the scheduling area’s non-work time section. |
src |
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