Appointment.Duration Property

Gets or sets the duration of the appointment.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

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

Property Value

Type Description
TimeSpan

A TimeSpan value representing 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