AddLabel Method
Description
Adds a custom label to the LabelList collection.
Syntax
Public Sub AddLabel( _
ByVal [LabelID](XtremeCalendarControl~CalendarEventLabel~LabelID.md) As Long, _
ByVal [Color](XtremeCalendarControl~CalendarEventLabel~Color.md) As ULong, _
ByVal [Name](XtremeCalendarControl~CalendarEventLabel~Name.md) As String _
)
Parameters
Remarks
The AddLabel method adds a custom label to the LabelList collection.
The Color of the label will be used as the background color of the event when it is displayed in the calendar view.
By default, there is a list of "default" labels in the LabelList collection. All labels can be removed with the RemoveAll method. The InitDefaultValues method can be used to populate the LabelList collection with a set of default CalendarEventLabel objects.
See Also
- CalendarEventLabels Collection
- CalendarEventLabel Object
- Color Property
- LabelID Property
- Name Property
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.