Xceed Toolkit for Maui v2.0 Documentation
SelectionChanged Event (ComboBox)


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > ComboBox Class : SelectionChanged Event
This event is raised when a new item is selected in the ComboBox.
Syntax
'Declaration
 
Public Event SelectionChanged As EventHandler(Of ValueChangedEventArgs(Of Object))
'Usage
 
Dim instance As ComboBox
Dim handler As EventHandler(Of ValueChangedEventArgs(Of Object))
 
AddHandler instance.SelectionChanged, handler
public event EventHandler<ValueChangedEventArgs<object>> SelectionChanged
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