I was reading
this solution on how to bind a RadioButton to a enum type, but in my special case I need to do it programmatically since I am generating a number of panels with 3 radiobuttons the number of which is only known runtime.
I tried this:
Binding b = new Binding("CerradaBind");
b.Mode = BindingMode.TwoWay;
b.Source = _exp3Class;
But found out the IsChecked property is not what the Setbinding function expects, how should I do it?
Also, is there another way of binding directly to radiogroup instead of button by button?
View Complete Post