Table of Contents

Class CalendarModeChangedEventArgs

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Provides data for the DisplayModeChanged event.

public class CalendarModeChangedEventArgs : RoutedEventArgs
Inheritance
CalendarModeChangedEventArgs
Inherited Members

Constructors

CalendarModeChangedEventArgs(CalendarMode, CalendarMode)

Initializes a new instance of the CalendarModeChangedEventArgs class.

public CalendarModeChangedEventArgs(CalendarMode oldMode, CalendarMode newMode)

Parameters

oldMode CalendarMode

The previous mode.

newMode CalendarMode

The new mode.

Properties

NewMode

Gets the new mode of the Calendar.

public CalendarMode NewMode { get; }

Property Value

CalendarMode

A CalendarMode the new mode.

OldMode

Gets the previous mode of the Calendar.

public CalendarMode OldMode { get; }

Property Value

CalendarMode

A CalendarMode representing the previous mode.