Back to Devexpress

TimeRuler.TimeZone Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-timeruler-21af3cd6.md

latest2.1 KB
Original Source

TimeRuler.TimeZone Property

Gets or sets the time zone displayed by the Time Ruler. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public TimeZoneInfo TimeZone { get; set; }
vb
Public Property TimeZone As TimeZoneInfo

Property Value

TypeDescription
TimeZoneInfo

A TimeZoneInfo object identifying the time zone.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TimeZone 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-rulers-from-view-model-collection/CS/WpfSchedulerTimeRulers/MainWindow.xaml#L16

xml
<ContentControl>
    <dxsch:TimeRuler Caption="{Binding Caption}" ShowMinutes="{Binding ShowMinutes}" TimeZone="{Binding TimeZone}" AlwaysShowTimeDesignator="{Binding AlwaysShowTimeDesignator}"/>
</ContentControl>

See Also

TimeRuler Class

TimeRuler Members

DevExpress.Xpf.Scheduling Namespace