Skip to main content

DateNavigator.ShowTodayButton Property

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

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

#Declaration

public bool ShowTodayButton { get; set; }

#Property Value

Type Description
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.

DateNavigator_ShowTodayButton

#Examples

This example demonstrates how to customize the DateNavigator control. To do this, it is necessary to modify the DateNavigator object.

<dxe:DateNavigator HighlightSpecialDates="True"
                   HighlightHolidays="True"
                   ShowTodayButton="True"
                   ShowWeekNumbers="True"
                   WeekNumberRule="FirstDay"
                   FirstDayOfWeek="Sunday"
                   IsMultiSelect="True"
                   MaxSelectionLength="3"/>
See Also