AppointmentDisplayOptions.EndTimeVisibility Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

[DefaultValue(AppointmentTimeVisibility.Auto)]
public virtual AppointmentTimeVisibility EndTimeVisibility { get; set; }
<DefaultValue(AppointmentTimeVisibility.Auto)>
Public Overridable Property EndTimeVisibility As AppointmentTimeVisibility

Property Value

Type Default Description
AppointmentTimeVisibility

Auto

An AppointmentTimeVisibility enumeration specifying whether the appointment end time should be displayed.

Property Paths

You can access this nested property as listed below:

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

Remarks

When the EndTimeVisibility is set to AppointmentTimeVisibility.Auto, the appointment's end 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 end time is not displayed. For example, if the DayView.TimeScale is 30 min, then the end time values of 2:00 and 7:30 will not be displayed, while 2:01 and 7:40 - will be.

The end time visibility may be affected by the AppointmentDisplayOptions.SnapToCells property. Depending on its value, the appointment will appear the following way.

Property values

Result

EndTimeVisibility = Auto SnapToCellsMode = Auto | Disabled | Never

SnapToCellsIssue_Auto

EndTimeVisibility =Auto SnapToCellsMode =Always

SnapToCellsIssue_Always

See Also