[]
Gets or sets custom icon to show in appointment element.
public Image CustomIcon { get; set; }
Public Property CustomIcon As Image
To show this icon, make sure that AppointmentIcons property includes Custom flag.
The code below shows how to use image from application embedded resources as appointment icon.
void c1Schedule1_BeforeAppointmentFormat(object sender, BeforeAppointmentFormatEventArgs e)
{
e.Icons = AppointmentIcons.Custom;
e.CustomIcon = C1.Win.Schedule.Utils.GetImage(System.Reflection.Assembly.GetExecutingAssembly(), "Flower.jpg");
}