HandyControl
HandyControl copied to clipboard
Bind Radio-ButtonGroup to enum?
Is it possible to have a bunch of radiobuttons in a button group and bind the button group to an enum.
Eg: Say there are three radiobuttons in a button group. And there is an enum with three values, namely A, B and C. Now let's say a variable of the enum type is bound to the button group such that, when the variable has its value as A, radiobutton-1 must be checked and other radiobuttons must be unchecked, next when the value of the variable changes from A to B, radiobutton-2 must be checked and others unchecked and so on so forth.