CalendarControl.DataProvider.EventCategories.Add |
Post Reply |
Author | |
fergie
Groupie Joined: 20 May 2008 Status: Offline Points: 13 |
Post Options
Thanks(0)
Posted: 09 September 2008 at 8:09am |
How do i implement this?
I am trying to add additional categories but for the life of me cant!!!
Please help.
Regards
David
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
CalendarEventLabels listLabels = wndCalendarControl.DataProvider.LabelList();
// Use to remove all built in labels // listLabels.RemoveAll(); listLabels.AddLabel(0, 0, "None category"); listLabels.AddLabel(1, 0xff0000, "Blue category"); listLabels.AddLabel(2, 0x00ff00, "Green category"); listLabels.AddLabel(3, 0x0000ff, "Red category"); wndCalendarControl.Populate(); |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |