Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <ComboBox Grid.Row="2" Grid.Column="1" ItemsSource="{Binding Path=SkillItemSource}" SelectedItem="{Binding Path=neededSkill, Mode=TwoWay}" SelectedIndex="0" Margin="5" MinWidth="100"></ComboBox>
  2.  
  3. public Skill neededSkill = Skill.FirstSkill;
  4.  
  5. public string[] SkillItemSource
  6. {
  7. get
  8. {
  9. return Enum.GetNames(typeof(Skill));
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement