ListBoxItem.OnSelected(RoutedEventArgs) ListBoxItem.OnSelected(RoutedEventArgs) ListBoxItem.OnSelected(RoutedEventArgs) ListBoxItem.OnSelected(RoutedEventArgs) Method

Definition

Wird aufgerufen, wenn das ListBoxItem in einer ListBox ausgewählt wird.Called when the ListBoxItem is selected in a ListBox.

protected:
 virtual void OnSelected(System::Windows::RoutedEventArgs ^ e);
protected virtual void OnSelected (System.Windows.RoutedEventArgs e);
abstract member OnSelected : System.Windows.RoutedEventArgs -> unit
override this.OnSelected : System.Windows.RoutedEventArgs -> unit
Protected Overridable Sub OnSelected (e As RoutedEventArgs)

Parameter

e
RoutedEventArgs RoutedEventArgs RoutedEventArgs RoutedEventArgs

Die Ereignisdaten.The event data.

Hinweise

Diese Methode wird aufgerufen, wenn IsSelected die-Eigenschaft truein geändert wird.This method is called when the IsSelected property changes to true.

Gilt für: