This example illustrates how the labels for appointments could be obtained from a data source. This simple approach could be tailored to suit more complex requirements and implement the functionality described in the suggestion DS12188 (Labels - Obtain labels from a datasource like the resources).
Question Comments
Added By: .NET Developer at: 9/18/2012 11:44:43 AM
The example you have provided here seems to be for WinForms only. Can you provide an example for the ASPxScheduler?
Added By: Bryan Meier at: 10/31/2012 8:28:03 PMAnd an example for Silverlight.
Added By: Emmanuel at: 2/4/2016 4:47:44 AM Since Version 15.2 (not sure about minor version) the lineis obsolete[VB.NET]Dim aptLabel AsNew AppointmentLabel(color, dislayName, menuCaption)
should be used instead[C#]DimaptLabelAsAppointmentLabel=SchedStorage.Appointments.Labels.CreateNewLabel(key,displayName,menuCaption,color))