Color Property
Description
Color of the label. The Color of the label will be used as the background color of the event when it is displayed in the calendar view.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property Color() As ULong
Remarks
The Color of the label will be used as the background color of the event when it is displayed in the calendar view.
The table below lists all the default label values and colors that are added to the LabelList when using InitDefaultValues:
| Default Background Color | Default Name | Default Label ID |
|---|---|---|
| RGB(255,255,255) | None | 0 |
| RGB(255,148,132) | Important | 1 |
| RGB(132,156,231) | Business | 2 |
| RGB(165,222, 99) | Personal | 3 |
| RGB(231,231,214) | Vacation | 4 |
| RGB(255,181,115) | Must Attend | 5 |
| RGB(132,239,247) | Travel Required | 6 |
| RGB(214,206,132) | Needs Preparation | 7 |
| RGB(198,165,247) | Birthday | 8 |
| RGB(165,206,198) | Anniversary | 9 |
| RGB(255,231,115) | Phone Call | 10 |
Calling the InitDefaultValues method will populate the LabelList collection with the values in the table above.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.