ListBoxItem.OnUnselected(RoutedEventArgs) 方法

定义

在取消选择 ListBoxItem 中的 ListBox 时调用。

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

参数

e
RoutedEventArgs

事件数据。

注解

当属性更改为 false a0/> 时IsSelected调用此方法。

适用于