Skip to main content

AppointmentFormController.DisplayEndTime Property

Gets or sets the appointment‘s end time to be displayed in the editing form.

Namespace: DevExpress.Xpf.Scheduler.UI

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

Declaration

public TimeSpan DisplayEndTime { get; set; }

Property Value

Type Description
TimeSpan

A TimeSpan value representing the time component of the appointment’s end time.

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

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

Example

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.

View Example

See Also