Back to Devexpress

AppointmentDisplayOptions.StartTimeVisibility Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentdisplayoptions-9b52448f.md

latest4.0 KB
Original Source

AppointmentDisplayOptions.StartTimeVisibility Property

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

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

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

Property Value

TypeDefaultDescription
AppointmentTimeVisibilityAuto

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

|

Available values:

NameDescription
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 TypePath to StartTimeVisibility
SchedulerViewInfoBase

.AppointmentDisplayOptions .StartTimeVisibility

| | TimeCellsControlBase |

.AppointmentDisplayOptions .StartTimeVisibility

| | SchedulerViewBase |

.AppointmentDisplayOptions .StartTimeVisibility

|

Remarks

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

The start time visibility may be affected by the AppointmentDisplayOptions.SnapToCellsMode 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**

|

|

See Also

AppointmentDisplayOptions Class

AppointmentDisplayOptions Members

DevExpress.XtraScheduler Namespace