New to Telerik UI for WinForms? Start a free 30-day trial

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:

C#
public class CalendarNavigatingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsCalendarNavigatingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes event data for a requested calendar navigation.

C#
public CalendarNavigatingEventArgs(DateTime startDate, CalendarNavigationDirection direction, bool isFastNavigation)
Parameters:startDateDateTime

The proposed start date for the new view.

directionCalendarNavigationDirection

The direction of navigation, or None when selecting a date or view.

isFastNavigationbool

true if navigation was initiated by a fast-navigation button.

Properties

Gets the direction of the navigation.

C#
public CalendarNavigationDirection Direction { get; }

Indicates whether the fast navigation buttons were used.

C#
public bool IsFastNavigation { get; }

Gets or sets the start date of the new view.

C#
public DateTime StartDate { get; set; }