Winforms Bind Enum to Radio Buttons

Posted by Damien on Stack Overflow See other posts from Stack Overflow or by Damien
Published on 2010-03-19T11:33:51Z Indexed on 2010/03/19 11:51 UTC
Read the original article Hit count: 1049

Filed under:
|
|
|
|

If I have three radio buttons, what is the best way to bind them to an enum which has the same choices? e.g.

[] Choice 1
[] Choice 2
[] Choice 3

public enum MyChoices
{
    Choice1,
    Choice2,
    Choice3
}

© Stack Overflow or respective owner

Related posts about databinding

Related posts about c#