9
Как привязать RadioButtons к перечислению?
У меня есть перечисление как это: public enum MyLovelyEnum { FirstSelection, TheOtherSelection, YetAnotherOne }; Я получил свойство в моем DataContext: public MyLovelyEnum VeryLovelyEnum { get; set; } И я получил три RadioButton в моем клиенте WPF. <RadioButton Margin="3">First Selection</RadioButton> <RadioButton Margin="3">The Other Selection</RadioButton> <RadioButton Margin="3">Yet Another one</RadioButton> Теперь, как мне …