Skip to main content

AppointmentFormController.DisplayStartTime Property

Gets or sets the appointment's start time to be displayed in the editing form.

Namespace: DevExpress.Xpf.Scheduler.UI

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

#Declaration

public TimeSpan DisplayStartTime { get; set; }

#Property Value

Type Description
TimeSpan

A TimeSpan value specifying the time component of the appointment's start time.

#Remarks

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

#Examples

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

See Also