<Style TargetType="ComboBoxItem" x:Key="ComboBoxItemStyle">
<EventSetter Event="Selected" Handler="status_SelectionChanged"/>
</Style>
status_SelectionChanged
方法:
public void status_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
MessageBox.Show("1");
}
エラー: System.Windows.RoutedEventHandler が有効ではありません
なぜ?