Skip to main content

SchedulerDateNavigatorStyleSettings Class

Defines the appearance and behavior settings of a date navigator when it is bound to scheduler control.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public class SchedulerDateNavigatorStyleSettings :
    DateNavigatorStyleSettings,
    IDateNavigatorControllerOwner,
    ISchedulerDateNavigatorControllerOwner

#Remarks

To provide end-users with intuitive access to specific time frames, you can bind a scheduler control to a date navigator. To do this, add the DateNavigator control to your scheduling application, access the SchedulerDateNavigatorStyleSettings object via the DateNavigator.StyleSettings property and set the SchedulerDateNavigatorStyleSettings.SchedulerControl property to the required SchedulerControl object. After this, the appearance and behavior of the date navigator and scheduler control will be interdependent. For example, each date change in the date navigator will automatically switch the associated scheduler view to the most appropriate display type in order to display the selected date or date range (the Day View if less than 7 days are selected, the Week View for 7 days, and the Month View for longer intervals).

#Examples

This example demonstrates how to associate the DateNavigator control with a SchedulerControl via the DateNavigator.StyleSettings property.

See Also