Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ComboBox Grid.Row="2" Grid.Column="1" ItemsSource="{Binding Path=SkillItemSource}" SelectedItem="{Binding Path=neededSkill, Mode=TwoWay}" SelectedIndex="0" Margin="5" MinWidth="100"></ComboBox>
- public Skill neededSkill = Skill.FirstSkill;
- public string[] SkillItemSource
- {
- get
- {
- return Enum.GetNames(typeof(Skill));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement