Back to Devexpress

DateNavigator.ShowTodayButton Property

wpf-devexpress-dot-xpf-dot-editors-dot-datenavigator-dot-datenavigator-8a523896.md

latest2.3 KB
Original Source

DateNavigator.ShowTodayButton Property

Gets or sets a value which specifies whether the Today button is visible. This is a dependency property.

Namespace : DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
Boolean

true to show the Today button; otherwise, false.

|

Remarks

Use the ShowTodayButton property to specify whether the Today button should be shown at the bottom of the DateNavigator control.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowTodayButton 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-filter-time-regions/CS/DXSample/MainWindow.xaml#L29

xml
IsMultiSelect="True"
ShowTodayButton="False"
ShowWeekNumbers="False">

See Also

DateNavigator Class

DateNavigator Members

DevExpress.Xpf.Editors.DateNavigator Namespace