How do I group Windows Form radio buttons?

前端 未结 9 1662
鱼传尺愫
鱼传尺愫 2020-11-27 11:33

How can I group the radio buttons in Windows Form application (a lot like ASP.NET\'s radiobuttonlist!)?

So I can switch between each case chosen from the options.

9条回答
  •  暖寄归人
    2020-11-27 11:55

    All radio buttons inside of a share container are in the same group by default. Means, if you check one of them - others will be unchecked. If you want to create independent groups of radio buttons, you must situate them into different containers such as Group Box, or control their Checked state through code behind.

提交回复
热议问题