New to Telerik UI for WPFStart a free 30-day trial

The EventArgs of the RadCalendar.DisplayModeChanged event.

Definition

Namespace:Telerik.Windows.Controls.Calendar

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class CalendarModeChangedEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCalendarModeChangedEventArgs

Constructors

Initializes a new instance of the CalendarModeChangedEventArgs class.

C#
public CalendarModeChangedEventArgs(RoutedEvent routedEvent, object source, DisplayMode oldMode, DisplayMode newMode)
Parameters:routedEventRoutedEvent

The routed event.

sourceobject

The source that raised the event.

oldModeDisplayMode

Previous value of the property, prior to the event being raised.

newModeDisplayMode

Current value of the property at the time of the event.

Properties

Gets the new mode of the Calendar.

C#
public DisplayMode NewMode { get; }

Gets the previous mode of the Calendar.

C#
public DisplayMode OldMode { get; }