FixedTimeScale Class
A time scale in the Timeline view whose time cell value is set to a custom fixed interval.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v21.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Remarks
To create a custom time scale in the Timeline View, instantiate the FixedTimeScale class, specify its time cell value using the FixedTimeScale.Scale property and a text to display using the TimeScaleBase.Caption property. Add a custom time scale to the TimelineView.TimeScales collection.
The following example demonstrates how to specify a custom set of time scales for the Timeline View:
<dxsch:TimelineView x:Name="timelineView" IntervalCount="8">
<dxsch:TimelineView.TimeScales>
<dxsch:TimeScaleWeek x:Name="scaleWeek" IsEnabled="False"/>
<dxsch:TimeScaleWorkDay x:Name="scaleWorkDay" IsEnabled="True"/>
<dxsch:TimeScaleWorkHour x:Name="scaleWorkHour" IsEnabled="True"/>
<dxsch:FixedTimeScale x:Name="scaleFixedTime" Caption ="30 minutes" Scale="00:30:00" IsEnabled="True" ShowHeaders="False"/>
</dxsch:TimelineView.TimeScales>
</dxsch:TimelineView>
Implements
Inheritance
Object
DispatcherObject
DependencyObject
ContentElement
FrameworkContentElement
DXFrameworkContentElement
DevExpress.Xpf.Scheduling.Internal.SchedulerFrameworkComponent
TimeScaleBase
FixedTimeScale
See Also