SchedulerAppointmentDisplayOptions.EndTimeVisibility Property
Specifies whether the end time should be visible for an appointment.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Appointment |
A Appointment |
#Property Paths
You can access the SchedulerAppointmentDisplayOptions.EndTimeVisibility property from the following objects:
Object Type | Path to End |
---|---|
Day |
|
Month |
|
Timeline |
|
Week |
|
Work |
|
#Remarks
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.
#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.