Skip to main content

Appointment.Duration Property

Gets or sets the duration of the appointment.

Namespace: DevExpress.XtraScheduler

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

#Declaration

public TimeSpan Duration { get; set; }

#Property Value

Type Description
TimeSpan

A TimeSpan value that is the duration of the appointment.

#Remarks

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.

NOTE

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

See Also