WPF 프로젝트에서 작업 중입니다. ComboBox가 있는데 특정 이벤트에서 Selected 값을 업데이트하려고합니다. 내 코드는 아래와 같습니다. 여기 Combobox selectedvalue가 업데이트되지 않습니다.
내 CS 코드 친절SomeEvent(){
cmbSeverity.SelectedValue = "High";
}
나에게 안내되어 내 XAML 코드 여기
<ComboBox x:Name="cmbSeverity" Height="23"
Margin="10,157,0,0" VerticalAlignment="Top" Width="198"
HorizontalAlignment="Left" SelectedValuePath="Content">
<ComboBoxItem Content="Low"/>
<ComboBoxItem Content="Medium"/>
<ComboBoxItem Content="High"/>
</ComboBox>
입니다