Skip to main content

Appointment.End Property

Gets or sets the end date and time of the appointment.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

DateTime End { get; set; }

Property Value

Type Description
DateTime

A DateTime value representing the end of the appointment.

Remarks

The End property is usually specified by the Appointment.Start and Appointment.Duration properties, and is always calculated as End = Start + Duration. When setting the End property, the Appointment.Start property retains its value, and the Appointment.Duration is changed according to the new value of the End property. If the new Appointment.End property’s value is less than the Appointment.Start property’s value, an exception is raised.

The following code snippets (auto-collected from DevExpress Examples) contain references to the End property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also