DevExpress Winform 控件 Radiobutton 组
我正在开发一个 winform 应用程序,我需要提供一个单选按钮组,以允许用户在互斥的选项中指定选项。 DevExpress 控件单选按钮组看起来不够灵活。例如,它不允许以不同的布局排列各个无线电,也不允许我将其他控件(如文本框)附加到当选择单选按钮(以及类似的自定义)时将启用的无线电之一。 )我是否遗漏了一些东西,或者是我需要编写自己的用户控件(我可以从旧的 Winform 控件中快速组装自己的控件来获得这个控件,但我想确保已经没有这样的东西了)开发快递)?
I am working on a winform application where I need to present a radiobutton group for allowing users to specify options among mutually exclusive ones. The DevExpress control radiobutton group looks like not flexible enough. For example , it does not allow arranging the individual radios in a different layout , nor it allows me to attach other controls ( like a text box ) to one of the radio that will get enabled when the radio button is selected ( and similar customizations.. ) Am I missing something or is it a case where I need to write my own user control( I can assemble my own control from the good old Winform controls quickly to get this , but I want to make sure there's nothing already like this from DevExpress ) ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以按照您需要的方式放置单选按钮。这可以使用单独的 CheckEdit 来完成。要使它们作为属于同一 RadioGroup 的 radioButtons 工作,请将编辑器的
Properties.RadioGroupIndex 设置为相同的值
Properties.CheckStyle 到 Radio
Hope,这有帮助。
It is possible to position radio buttons the way you need. This can be done using separate CheckEdits. To make them work as radioButtons belonging to the same RadioGroup, set the editors'
Properties.RadioGroupIndex to the same value
Properties.CheckStyle to Radio
Hope, this helps.