Scheduler for UWP | ComponentOne
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.
    <DefaultValueAttribute(System.TimeSpan, "1:00:00")>
    Public Property Duration As TimeSpan
    [DefaultValue(System.TimeSpan, "1:00:00")]
    public TimeSpan Duration {get; set;}
    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