<ComboBox x:Name="cboSkillset" DisplayMemberPath="technologyID" SelectedValue="skillid" FontWeight="Bold" Canvas.Left="120" Canvas.Top="68" Width="200" Height="25"></ComboBox> private void Grid_SelectionChanged(object sender, SelectionChangedEventArgs e){ //Loading combobox cboSkillSetLevel.ItemsSource = DBContext.Lookups; DBContext.Load(DBContext.GetLookupsQuery(1)); TextBlock Txt_Skill = (TextBlock) Grid.Columns[2].GetCellContent(Grid.SelectedItem); //here how can we assign selected value of combobox cboSkillSetLevel.selecteditem = Txt_Skill.Text; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)