SchedulerAppointmentDisplayOptions.EndTimeVisibility Property
Specifies whether the end time should be visible for the appointment.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
AppointmentTimeVisibility | A AppointmentTimeVisibility enumeration value, specifying whether the appointment end 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 EndTimeVisibility |
---|---|
DayView |
|
FullWeekView |
|
MonthView |
|
TimelineView |
|
WeekView |
|
WorkWeekView |
|
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 EndTimeVisibility is set to AppointmentTimeVisibility.Auto, the appointment’s end time is not shown when the appointment is of the Appointment.AllDay type. In other cases, the end 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 end time is not displayed if it aligns to the time cell border. For example, if the DayView.TimeScale is 30 min, then the end time values of 2:30 and 7:00 will not be displayed, while 2:45 and 7:01 - will be.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the EndTimeVisibility 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.