SchedulerItemBase.End Property
Gets or sets the appointment’s end date and time.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
DateTime | A DateTime value that is the end of the appointment. |
Remarks
The End property value is consistent with the SchedulerItemBase.Duration and SchedulerItemBase.End
properties. The End value is 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.
Note
If the AppointmentItem.AllDay property is set to true, then the appointment’s start date is the Date fraction of the End value, and the start time is 0:00.
Related GitHub Examples
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.