共用方式為


ComboBox.OnSelectionChanged(SelectionChangedEventArgs) 方法

定義

藉由引發 ComboBox 事件,回應 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)

參數

適用於