有没有控制,我可以添加到Windows窗体类似于Visual Studio中的属性窗口? [英] Is there control I can add to a windows form that is similar to the Properties window in Visual Studio?
问题描述
我要添加在Visual Studio中类似的属性窗口的东西进入我的窗体应用程序。基本上具有在第一列中的标签,并在第二列中的可编辑值的网格。我似乎无法找到类似的东西。要使用什么任何示例/如何如何使用它的将是真棒。
I want to add something similar to the the properties window in Visual Studio into my form application. Basically a grid that has a label in the first column and a editable value in the second column. I can't seem to find something like it. Any examples of what to use and/how how to use it would be awesome.
推荐答案
您正在寻找的控制是的 PropertyGrid的。
The control you are looking for is the PropertyGrid.
我建议你阅读充分运用.NET框架的PropertyGrid控制一>有关如何与此控件充分合作,包括自定义为您的类型的详细信息。
I recommend reading Getting the Most Out of the .NET Framework PropertyGrid Control for details on how to work with this control fully, including customizing it for your types.
这篇关于有没有控制,我可以添加到Windows窗体类似于Visual Studio中的属性窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!