Skip to main content

DateNavigator Class

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

#Declaration

[DXToolboxBrowsable(DXToolboxItemKind.Free)]
public class DateNavigator :
    Control,
    IDateNavigatorContentContainer,
    IServiceProvider,
    ILogicalOwner,
    IInputElement

#Returned By

The DateNavigator.GetNavigator(DependencyObject) method returns an instance of DateNavigator.

#Remarks

The DateNavigator control is shown in the image below.

DateNavigator

To get a tutorial on how to add the DateNavigator control to a project, customize its behavior and appearance, and bind it to the SchedulerControl, see How to: Use a Date Navigator in a Scheduling Application.

#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