CalendarModeChangedEventArgs Class
Definition
Provides data for the Avalonia.Controls.Calendar.DisplayModeChanged event.
public class CalendarModeChangedEventArgs
Constructors
| Name | Description |
|---|---|
| CalendarModeChangedEventArgs | Initializes 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
| Name | Description |
|---|---|
| NewMode | Gets the new mode of the Avalonia.Controls.Calendar. |
| OldMode | Gets the previous mode of the Avalonia.Controls.Calendar. |
| Handled | Gets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs. |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs. |
| RoutedEvent | Gets or sets the routed event associated with these event args. Inherited from RoutedEventArgs. |
| Source | Gets 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.