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

정의

ListBoxItemListBox에서 선택되면 호출됩니다.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)

매개 변수

e
RoutedEventArgs RoutedEventArgs RoutedEventArgs RoutedEventArgs

이벤트 데이터입니다.The event data.

설명

이 메서드를 호출한 경우 합니다 IsSelected 속성 변경 true합니다.This method is called when the IsSelected property changes to true.

적용 대상