Back to Devexpress

DayViewBase.TopRowTime Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-dayviewbase-a11975e7.md

latest2.9 KB
Original Source

DayViewBase.TopRowTime Property

Gets or sets the time of the topmost row which is currently shown 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 TimeSpan TopRowTime { get; set; }
vb
Public Property TopRowTime As TimeSpan

Property Value

TypeDescription
TimeSpan

A TimeSpan value specifying the time value for the top row.

|

Remarks

The following images demonstrate how the TopRowTime property works.

TopRowTime = “04:00:00”TopRowTime = “10:00:00”

Note that the TopRowTime property value changes every time an end-user scrolls the view’s data.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TopRowTime 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-handle-customappointmentbackground-event-to-change-appointment-background/CS/CustomAppointmentBackground/MainWindow.xaml#L16

xml
ActiveViewIndex="0" CustomAppointmentBackground="SchedulerControl_CustomAppointmentBackground">
<dxsch:DayView x:Name="dayView1" DayCount="2" ResourcesPerPage="2" TopRowTime="9:0:0"/>
<dxsch:SchedulerControl.DataSource>

See Also

DayViewBase Class

DayViewBase Members

DevExpress.Xpf.Scheduling Namespace