Back to Devexpress

DayViewBase.ShowTimeIndicatorOverAppointment Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-dayviewbase-412e410e.md

latest3.5 KB
Original Source

DayViewBase.ShowTimeIndicatorOverAppointment Property

Gets or sets a value indicating whether the Time Indicator is displayed over appointments in the Day View, Work Week View, and Week View. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public bool ShowTimeIndicatorOverAppointment { get; set; }
vb
Public Property ShowTimeIndicatorOverAppointment As Boolean

Property Value

TypeDescription
Boolean

true to display the current time line over appointments; otherwise, false.

|

Remarks

The following images demonstrate how the ShowTimeIndicatorOverAppointment property works:

ShowTimeIndicatorOverAppointment = trueShowTimeIndicatorOverAppointment = false (Default)

Use the DayViewBase.TimeIndicatorVisibility property to control the Time Indicator visibility.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowTimeIndicatorOverAppointment 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.

wpf-scheduler-customize-context-menus/CS/DXScheduler_PopUpMenuCustomization/MainWindow.xaml#L49

xml
<dxsch:DayView x:Name="dayView1"
               ShowTimeIndicatorOverAppointment="True"
               ResourcesPerPage="2"

wpf-scheduler-handle-popupmenushowing-event-to-customize-context-menus/CS/PopUpMenuShowingEvent/MainWindow.xaml#L18

xml
<dxsch:DayView x:Name="dayView1"
               ShowTimeIndicatorOverAppointment="True"
               ResourcesPerPage="2"

See Also

TimeIndicatorVisibility

DayViewBase Class

DayViewBase Members

DevExpress.Xpf.Scheduling Namespace