如何将复选框添加到组框的标题 [英] how to add checkbox to the title of the group box

查看:272
本文介绍了如何将复选框添加到组框的标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在开发一个项目.我在其中添加了一个组框.现在,我需要在组框的标题中添加一个复选框.

Am developing a project. In which I added a group box. Now i need to add a checkbox to the title of the group box. Help me how can i do this

推荐答案

您可以创建一个UserControl,将CheckBox放在GroupBox的顶部.
You can create a UserControl where a CheckBox is put on top of a GroupBox.


您需要编写一个自定义控件. 转到此处 [ ^ ]
You need to write a custom control. Go here [^]


这篇关于如何将复选框添加到组框的标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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