選択項目が変更されたことを知るには SelectionChanged イベントを使用します。
下記は選択項目が変更されたときに、どの項目が選択されたのかを表示する例です。
VBの例
Private Sub ComboBox1_SelectionChanged(ByVal sender As System.Object, ByVal e As System.Windows.Controls.SelectionChangedEventArgs) Handles ComboBox1.SelectionChanged MessageBox.Show(DirectCast(ComboBox1.SelectedItem, ComboBoxItem).Content.ToString() & "が選択されました") End Sub
C#の例
private void comboBox1_SelectionChanged(object sender, SelectionChangedEventArgs e) { MessageBox.Show(((ComboBoxItem)comboBox1.SelectedItem).Content.ToString() + "が選択されました"); }