AppointmentDisplayOptions.StartTimeVisibility Property
Specifies whether the start time should be visible for the appointment.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.2.Core.dll
Declaration
[DefaultValue(AppointmentTimeVisibility.Auto)]
[XtraSerializableProperty]
public virtual AppointmentTimeVisibility StartTimeVisibility { get; set; }
<DefaultValue(AppointmentTimeVisibility.Auto)>
<XtraSerializableProperty>
Public Overridable Property StartTimeVisibility As AppointmentTimeVisibility
Property Value
Type | Default | Description |
---|---|---|
AppointmentTimeVisibility | Auto |
An AppointmentTimeVisibility enumeration specifying whether the appointment start time should be displayed. |
Property Paths
You can access this nested property as listed below:
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 | |
StartTimeVisibility =Auto SnapToCellsMode =Always |