ListBox.OnSelectionChanged(SelectionChangedEventArgs) 方法

定义

通过引发 SelectionChanged 事件来对列表框选择更改作出响应。

protected:
 override void OnSelectionChanged(System::Windows::Controls::SelectionChangedEventArgs ^ e);
protected override void OnSelectionChanged (System.Windows.Controls.SelectionChangedEventArgs e);
override this.OnSelectionChanged : System.Windows.Controls.SelectionChangedEventArgs -> unit
Protected Overrides Sub OnSelectionChanged (e As SelectionChangedEventArgs)

参数

适用于