Back to Devexpress

TimeRuler.ShowMinutes Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-timeruler-124f9a42.md

latest2.4 KB
Original Source

TimeRuler.ShowMinutes Property

Gets or sets whether the Time Ruler displays minutes. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public bool ShowMinutes { get; set; }
vb
Public Property ShowMinutes As Boolean

Property Value

TypeDescription
Boolean

true, to display minutes; otherwise, false.

|

Remarks

Use the ShowMinutes property to show or hide minutes in the time ruler. The time ruler appearance with and without minutes is illustrated below:

ShowMinutes - TrueShowMinutes - False

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowMinutes 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