Back to Devexpress

FixedTimeScale.Scale Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-fixedtimescale.md

latest2.3 KB
Original Source

FixedTimeScale.Scale Property

Gets or sets a time interval for the FixedTimeScale. 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 Scale { get; set; }
vb
Public Property Scale As TimeSpan

Property Value

TypeDescription
TimeSpan

A TimeSpan value representing the scale value.

|

Remarks

The default time interval for the FixedTimeScale is 15 minutes.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Scale 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-generate-time-scales-from-view-model-collection/CS/WpfSchedulerTimelineScalesTemplate/MainWindow.xaml#L33

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

See Also

FixedTimeScale Class

FixedTimeScale Members

DevExpress.Xpf.Scheduling Namespace