Back to Devexpress

TimeScaleHour Class

wpf-devexpress-dot-xpf-dot-scheduling-3fb04344.md

latest2.9 KB
Original Source

TimeScaleHour Class

A time scale in the Timeline view whose time cell value is equal to a single hour.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public class TimeScaleHour :
    TimeScaleBase
vb
Public Class TimeScaleHour
    Inherits TimeScaleBase

Remarks

An instance of the TimeScaleHour class is contained in a collection accessible using the TimelineView.TimeScales property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TimeScaleHour class.

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-generate-time-scales-from-view-model-collection/CS/WpfSchedulerTimelineScalesTemplate/MainWindow.xaml#L26

xml
<ContentControl>
    <dxsch:TimeScaleHour Caption="{Binding Caption}" ShowHeaders="{Binding ShowHeaders}" IsEnabled="{Binding IsEnabled}"/>
</ContentControl>

Implements

ITimeScale

Inheritance

Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement DevExpress.Xpf.Scheduling.Internal.SchedulerFrameworkComponent TimeScaleBase TimeScaleHour TimeScaleWorkHour

See Also

TimeScaleHour Members

Timeline View

DevExpress.Xpf.Scheduling Namespace