Skip to main content
A newer version of this page is available. .

SchedulerAppointmentDisplayOptions.StartTimeVisibility Property

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

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v19.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.

Available values:

Name Description
Auto

Whether the appointment time is shown or not is determined automatically according to the current scheduler view’s settings.

Always

Appointment time is always shown.

Never

Appointment time is never shown.

Property Paths

You can access this nested property as listed below:

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

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.

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the StartTimeVisibility 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.

See Also