简体   繁体   English

GroupBox不在工具箱中

[英]GroupBox not in toolbox

I am using Visual Studio 2010 and I cant find groupbox in toolbox. 我正在使用Visual Studio 2010,我无法在工具箱中找到groupbox。 It is showing in the list of components and it is checked. 它显示在组件列表中并进行检查。 I also tried to insert it through code but it is also not showing in the code. 我也尝试通过代码插入它,但它也没有显示在代码中。 In some pre made pages like login and createuser wizard visual studio is showing the groupbox. 在一些预先制作的页面中,例如login和createuser wizard,visual studio正在显示groupbox。 Any idea what could be the problem? 知道可能是什么问题吗?

The same functionality you can achieve by the following code: 您可以通过以下代码实现相同的功能:

<fieldset class="login">
                <legend>Title</legend>

<div>Content</div>
</fieldset>

You can use Panel. 你可以使用Panel。 Specify the text on GroupingText property. 在GroupingText属性上指定文本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM