A newer version of this page is available. Switch to the current version.

Appointment.Duration Property

Gets or sets the duration of the appointment.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll


TimeSpan Duration { get; set; }
Property Duration As TimeSpan

Property Value

Type Description

A TimeSpan value representing the duration of the appointment.


The Duration property and the Appointment.Start property specify the value of the Appointment.End property for the appointment. This value is always calculated as End = Start + Duration.


The Ticks property value of the Duration should be greater than or equal to 0.

See Also