ComponentOne Scheduler for WinForms
Duration Property (Appointment)

C1.Win.C1Schedule.4 Assembly > C1.C1Schedule Namespace > Appointment Class : Duration Property
Gets or sets the System.TimeSpan value indicating the duration of the appointment.
Syntax
'Declaration
 
Public Property Duration As System.TimeSpan
public System.TimeSpan Duration {get; set;}
Remarks
At setting this property, if it's value is not equal to the whole number of days, the AllDayEvent property will be set to false.
See Also

Reference

Appointment Class
Appointment Members