Back to Devexpress

DayViewBase.VisibleTime Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-dayviewbase-7f7a9190.md

latest2.7 KB
Original Source

DayViewBase.VisibleTime Property

Gets or sets the time of the view’s day interval for 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 TimeSpanRange VisibleTime { get; set; }
vb
Public Property VisibleTime As TimeSpanRange

Property Value

TypeDescription
TimeSpanRange

A TimeSpanRange object which specifies the time of the view’s day interval.

|

Remarks

Note

If the DayViewBase.ShowWorkTimeOnly option is true , and the SchedulerControl.WorkTime and VisibleTime properties are set to different intervals, the scheduler displays an interval that is an intersection of the specified intervals.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VisibleTime 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-obtain-selected-appointment-resource-and-time-interval/CS/DXSchedulerSelection/MainWindow.xaml#L55

xml
ResourcesPerPage="2"
    VisibleTime="06:00:00-21:00:00" />
<dxsch:SchedulerControl.DataSource>

See Also

WorkTime

DayViewBase Class

DayViewBase Members

DevExpress.Xpf.Scheduling Namespace