Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <ComboBox x:Name="comboBox1">
  2. <ComboBoxItem IsSelected="True"></ComboBoxItem>
  3. </ComboBox>
  4.  
  5. comboBox[0].IsSelected = "True" // this doesn't exit..
  6.  
  7. comboBox1.SelectedIndex = 0;
  8.  
  9. comboBoxItem.IsSelected = true;
  10.  
  11. ((ComboBoxItem)cmb.Items[1]).IsSelected = true;
  12.  
  13. ((ComboBoxItem)*testcombo*.Items[3]).IsSelected = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement