OnSelected Method

ListBoxItem.OnSelected Method (RoutedEventArgs)

 

Called when the ListBoxItem is selected in a ListBox.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

abstract OnSelected : 
        e:RoutedEventArgs -> unit
override OnSelected : 
        e:RoutedEventArgs -> unit

Parameters

e
Type: System.Windows.RoutedEventArgs

The event data.

This method is called when the IsSelected property changes to true.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft