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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The control you are looking for is the 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.