Gets or sets the TimeSpan value indicating the
duration of the appointment.
Namespace:
C1.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
[DefaultValueAttribute(typeof(TimeSpan), "1:00:00")] public TimeSpan Duration { get; set; } |
Visual Basic (Declaration) |
---|
<DefaultValueAttribute(GetType(TimeSpan), "1:00:00")> _ Public Property Duration As TimeSpan 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.
The default value for this property is 01:00:00.