ListBoxItem::OnSelected Method (RoutedEventArgs^)

 

Called when the ListBoxItem is selected in a ListBox.

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

protected:
virtual void OnSelected(
	RoutedEventArgs^ e
)

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: