본문 바로가기
WPF

Combobox SelectionChanged 호출시 SelectedItem 확인 방법

by leo21c 2021. 5. 10.

private void cb_SelectionChanged(object sender, SelectionChangedEventArgs e) 
{

        string name = (sender as ComboBox).SelectedItem.ToString();