WinForms RadioButtonList不存在吗? [英] WinForms RadioButtonList doesn't exist?

查看:50
本文介绍了WinForms RadioButtonList不存在吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道 WebForms 具有 RadioButtonList 控件,但是我找不到<$ c $的控件c> WinForms 。我需要将3个RadioButtons组合在一起,以便一次只能选择1个。我发现我必须通过代码来完成此操作,这很痛苦。我只是在某个地方没有看到 RadioButtonList 还是在 WinForms 中确实不存在?

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 together, so that only 1 can be selected at a time. I'm finding that I have to do this through code, which is a pain. Am I just not seeing RadioButtonList somewhere, or does it really not exist in WinForms?

推荐答案

显然不是

您可以使用GroupBox或面板将三个RadioButton组合在一起在这里完成

You can group three RadioButtons together using a GroupBox or a Panel as is done here.

这篇关于WinForms RadioButtonList不存在吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆