Xceed Toolkit for Maui v2.0 Documentation
DisplayModeChanged Event


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > Calendar Class : DisplayModeChanged Event
This event is raised when the DisplayMode is modified.
Syntax
'Declaration
 
Public Event DisplayModeChanged As EventHandler(Of ValueChangedEventArgs(Of CalendarMode))
'Usage
 
Dim instance As Calendar
Dim handler As EventHandler(Of ValueChangedEventArgs(Of CalendarMode))
 
AddHandler instance.DisplayModeChanged, handler
public event EventHandler<ValueChangedEventArgs<CalendarMode>> DisplayModeChanged
Event Data

The event handler receives an argument of type ValueChangedEventArgs<T> containing data related to this event. The following ValueChangedEventArgs<T> properties provide information specific to this event.

PropertyDescription
Gets the new value, which is the most recent setting.  
Gets the old value, which is the one that has just been replaced by the NewValue.  
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also