在WPF中创建类似于VS的属性窗口 [英] Create a Property window like VS in WPF

查看:156
本文介绍了在WPF中创建类似于VS的属性窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我想为我的项目创建一个属性窗口,并且不知道如何使用网格,列表或表来启动它,它应该与Visual Studio中的相同.

在此先感谢

Hello,
I want to create a property window for my project and have no idea how to start,using a grid or list or table,it Should be same somewhat same as in Visual Studio.

Thanks in advance

推荐答案

这称为PropertyGrid.对于WPF,存在一些第三方解决方案,但我还没有尝试其中的任何一种.

请参阅:
http://wpg.codeplex.com/ [ ^ ],
http://wpfpropertygrid.codeplex.com/ [ ^ ],
http://propertytools.codeplex.com/ [ ^ ].

这些CodeProject文章中展示了一些方法:
原生WPF 4 PropertyGrid [ WPF PropertyGrid-MVVM技术 [ http://en.lmgtfy.com/?q=(%22property + grid%22 + OR + PropertyGrid)+ WPF [ ^ ].

—SA
This is called PropertyGrid. For WPF, some 3rd-party solutions exist, but I did not try any of them yet.

Please see:
http://wpg.codeplex.com/[^],
http://wpfpropertygrid.codeplex.com/[^],
http://propertytools.codeplex.com/[^].

Some approaches are demonstrated in these CodeProject articles:
Native WPF 4 PropertyGrid[^],
WPF PropertyGrid - MVVM techniques[^].

I don''t think it''s appropriate to show commercial closed-source solutions here, but you can try to find some by yourself: http://en.lmgtfy.com/?q=(%22property+grid%22+OR+PropertyGrid)+WPF[^].

—SA


这篇关于在WPF中创建类似于VS的属性窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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