Skip to main content

AppointmentFormController.DisplayEndDate Property

Gets or sets the appointment's end date to be displayed in the editing form.

Namespace: DevExpress.Xpf.Scheduler.UI

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public DateTime DisplayEndDate { get; set; }

#Property Value

Type Description
DateTime

A DateTime value specifying the date component of the appointment's end time.

#Remarks

The DisplayEndDate value is the date component of the edited appointment's Appointment.End value, corrected as needed for the current client time zone (OptionsBehavior.ClientTimeZoneId setting). Use the DisplayEndDate and AppointmentFormController.DisplayEndTime properties to obtain or modify the end date and time of the edited appointment, or use the AppointmentFormControllerBase.DisplayEnd property to get access to the appointment's end time as a whole object.

#Examples

This example demonstrates how to bind the appointment's end date and time to the DateEdit and ButtonEdit controls on the custom Edit Appoinement form via the AppointmentFormController.DisplayEndDate and AppointmentFormController.DisplayEndTime properties, correspondingly.

See Also