Provides the proposed start date and direction before the calendar updates its view. Handlers can cancel the view update; for multi-month views or when the table zoom level is 0, they can also adjust StartDate. At non-day zoom levels, the focused date may already have changed.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CalendarNavigatingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsCalendarNavigatingEventArgs
Inherited Members
Constructors
Initializes event data for a requested calendar navigation.
public CalendarNavigatingEventArgs(DateTime startDate, CalendarNavigationDirection direction, bool isFastNavigation)
The proposed start date for the new view.
directionCalendarNavigationDirectionThe direction of navigation, or None when selecting a date or view.
isFastNavigationbooltrue if navigation was initiated by a fast-navigation button.
Properties
Gets the direction of the navigation.
public CalendarNavigationDirection Direction { get; }
Indicates whether the fast navigation buttons were used.
public bool IsFastNavigation { get; }