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

AppointmentDisplayOptions.StartTimeVisibility Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

[DefaultValue(AppointmentTimeVisibility.Auto)]
public virtual AppointmentTimeVisibility StartTimeVisibility { get; set; }

Property Value

Type Default Description
AppointmentTimeVisibility **Auto**

An 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:

Show 39 property paths
Library Object Type Path to StartTimeVisibility
WinForms Controls AgendaView
.AppointmentDisplayOptions.StartTimeVisibility
DayView
.AppointmentDisplayOptions.StartTimeVisibility
SchedulerViewInfoBase
.AppointmentDisplayOptions.StartTimeVisibility
FullWeekView
.AppointmentDisplayOptions.StartTimeVisibility
MonthView
.AppointmentDisplayOptions.StartTimeVisibility
DayViewTimeCells
.AppointmentDisplayOptions.StartTimeVisibility
FullWeek
.AppointmentDisplayOptions.StartTimeVisibility
HorizontalWeek
.AppointmentDisplayOptions.StartTimeVisibility
TimeCellsControlBase
.AppointmentDisplayOptions.StartTimeVisibility
TimelineCells
.AppointmentDisplayOptions.StartTimeVisibility
SchedulerViewBase
.AppointmentDisplayOptions.StartTimeVisibility
TimelineView
.AppointmentDisplayOptions.StartTimeVisibility
WeekView
.AppointmentDisplayOptions.StartTimeVisibility
WorkWeekView
.AppointmentDisplayOptions.StartTimeVisibility
WPF Controls DayView
FullWeekView
SchedulerDayViewAppointmentDisplayOptions
.DayViewInnerObject.StartTimeVisibility
WorkWeekView
ASP.NET Controls and MVC Extensions AgendaView
.AppointmentDisplayOptions.StartTimeVisibility
DayView
.AppointmentDisplayOptions.StartTimeVisibility
FullWeekView
.AppointmentDisplayOptions.StartTimeVisibility
MonthView
.AppointmentDisplayOptions.StartTimeVisibility
TimelineView
.AppointmentDisplayOptions.StartTimeVisibility
WeekView
.AppointmentDisplayOptions.StartTimeVisibility
WorkWeekView
.AppointmentDisplayOptions.StartTimeVisibility
MVCxSchedulerAgendaView
.AppointmentDisplayOptions.StartTimeVisibility
MVCxSchedulerDayView
.AppointmentDisplayOptions.StartTimeVisibility
MVCxSchedulerFullWeekView
.AppointmentDisplayOptions.StartTimeVisibility
MVCxSchedulerMonthView
.AppointmentDisplayOptions.StartTimeVisibility
MVCxSchedulerTimelineView
.AppointmentDisplayOptions.StartTimeVisibility
MVCxSchedulerWeekView
.AppointmentDisplayOptions.StartTimeVisibility
MVCxSchedulerWorkWeekView
.AppointmentDisplayOptions.StartTimeVisibility
ASP.NET Bootstrap Controls BootstrapAgendaView
.AppointmentDisplayOptions.StartTimeVisibility
BootstrapDayView
.AppointmentDisplayOptions.StartTimeVisibility
BootstrapFullWeekView
.AppointmentDisplayOptions.StartTimeVisibility
BootstrapMonthView
.AppointmentDisplayOptions.StartTimeVisibility
BootstrapTimelineView
.AppointmentDisplayOptions.StartTimeVisibility
BootstrapWeekView
.AppointmentDisplayOptions.StartTimeVisibility
BootstrapWorkWeekView
.AppointmentDisplayOptions.StartTimeVisibility

Remarks

When the StartTimeVisibility is set to AppointmentTimeVisibility.Auto, the appointment’s start time is not shown in the following scenarios:

  • if the appointment is of the Appointment.AllDay type;
  • if the appointment lines up with the time cell border in the Day View, Work Week View or Full Week View.

    In the Day-like views the appointment duration is represented by its height. Thus if the appointment overlaps the time cell border, the start time is not displayed. 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 start time visibility may be affected by the AppointmentDisplayOptions.SnapToCells property. Depending on its value, the appointment will appear the following way.

Property values

Result

StartTimeVisibility = Auto SnapToCellsMode = Auto | Disabled | Never

SnapToCellsIssue_Auto

StartTimeVisibility =Auto SnapToCellsMode =Always

SnapToCellsIssue_Always

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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