Gets or sets the TimeSpan value indicating the duration of the appointment.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[DefaultValueAttribute(typeof(TimeSpan), "1:00:00")]
public TimeSpan Duration { get; set; }
Visual Basic
<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.

See Also