Skip to main content

CalendarModeChangedEventArgs Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia
public class CalendarModeChangedEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> CalendarModeChangedEventArgs

Constructors

NameDescription
CalendarModeChangedEventArgsInitializes a new instance of the Avalonia.Controls.CalendarModeChangedEventArgs class.

CalendarModeChangedEventArgs Constructor

Initializes a new instance of the Avalonia.Controls.CalendarModeChangedEventArgs class.

public CalendarModeChangedEventArgs(Avalonia.Controls.CalendarMode oldMode, Avalonia.Controls.CalendarMode newMode)

Parameters

oldMode Avalonia.Controls.CalendarMode

The previous mode.

newMode Avalonia.Controls.CalendarMode

The new mode.

Properties

NameDescription
NewModeGets the new mode of the Avalonia.Controls.Calendar.
OldModeGets the previous mode of the Avalonia.Controls.Calendar.
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs.
RoutedEventGets or sets the routed event associated with these event args. Inherited from RoutedEventArgs.
SourceGets or sets the source object that raised the routed event. Inherited from RoutedEventArgs.

NewMode Property

Gets the new mode of the Avalonia.Controls.Calendar.

public Avalonia.Controls.CalendarMode NewMode { get; set; }

Value

A Avalonia.Controls.CalendarMode the new mode.

OldMode Property

Gets the previous mode of the Avalonia.Controls.Calendar.

public Avalonia.Controls.CalendarMode OldMode { get; set; }

Value

A Avalonia.Controls.CalendarMode representing the previous mode.