Skip to main content

SchedulerAppointmentDisplayOptions.StartTimeVisibility Property

Specifies whether the start time should be visible for an appointment.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public AppointmentTimeVisibility StartTimeVisibility { get; set; }

#Property Value

Type Description
AppointmentTimeVisibility

A AppointmentTimeVisibility enumeration specifying whether the appointment start time should be displayed.

#Property Paths

You can access the SchedulerAppointmentDisplayOptions.StartTimeVisibility property from the following objects:

Object Type Path to StartTimeVisibility
DayView
.AppointmentDisplayOptions.StartTimeVisibility
MonthView
.AppointmentDisplayOptions.StartTimeVisibility
TimelineView
.AppointmentDisplayOptions.StartTimeVisibility
WeekView
.AppointmentDisplayOptions.StartTimeVisibility
WorkWeekView
.AppointmentDisplayOptions.StartTimeVisibility

#Remarks

When the StartTimeVisibility is set to AppointmentTimeVisibility.Auto, the appointment's start time is not shown when the appointment is of the Appointment.AllDay type. In other cases, the start time is displayed, except for the Day View and Work-Week View. They are special because the appointment duration is represented by its height, and the start time is not displayed if it aligns to the time cell border. For example, if the DayView.TimeScale is 30 min, then the start time values of 2:00 and 7:30 will not be displayed, while 2:01 and 7:40 - will be.

#Examples

This example demonstrates how to customize the Timeline View within the SchedulerControl. To do this, it is necessary to modify the TimelineView object accessed via the SchedulerControl.TimelineView property.

See Also