WinForms RadioButtonList doesn't exist?

后端 未结 3 1724
滥情空心
滥情空心 2020-11-27 22:49

I know that WebForms has a RadioButtonList control, but I can\'t find one for WinForms. What I need is to have 3 RadioButtons grouped

3条回答
  •  被撕碎了的回忆
    2020-11-27 23:08

    The simple fact that several radio buttons are in the same container makes them mutually exclusive, you don't have to code this behavior yourself. Just put them in a Panel or GroupBox as suggested by Matthew

提交回复
热议问题