Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.C1Schedule Namespace / Appointment Class / Duration Property

In This Topic
    Duration Property (Appointment)
    In This Topic
    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