使用 MVVM 为 WPF 搭建脚手架?

发布于 2024-07-15 22:59:53 字数 273 浏览 7 评论 0原文

谁能告诉我是否有可能(如果存在某些实用程序??)创建考虑到 MVVM 和 WPF 的脚手架。

我的想法是我似乎有很多数据访问表单,当然我想自定义它们,但最初我想要一种快速提供表单的方法,即放置在它们上面并绑定到 mvvm 的所有控件?

也许我问得很多?

基本上,这些表单会自动为我创建,稍后我可以自定义它们并移动它们,但最初它们会起作用。

脚手架 - 我从网络开发中窃取了这个术语,但我认为它仍然存在于 wpf 中?

有任何想法吗?

Can anyone tell me if its possible (if some utility exists??) to create scaffolding taking into consideration MVVM with WPF.

My idea here is i seem to have a lot fo data access forms, and of course i would like to Customize them but initially i would like a quick way of providing the form i.e. ALL controls placed on them and Binded to the mvvm ??

Maybe I am asking a lot?

Basically the forms would be created automatically for me and later i could go in a customize them and move them around but initially they just would work.

Scaffolding - I am stealing the term from web development but i presume it still exists here in wpf?

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

薄暮涼年 2024-07-22 22:59:53

一家名为 DevExpress 的公司提供了一款产品。 他们拥有您所描述的产品。 此处查看产品视频

There is a product from a company named DevExpress. They have exactly the product you are describing. See a video of the product here

2024-07-22 22:59:53

脚手架是一种为数据库中的每个表自动生成 UI 的方法。 它允许您创建一个功能性 UI,用于根据数据架构查看和编辑数据。 以下是一些有关 WPF 脚手架的资源。

代码项目网站上有一篇 WPF 脚手架文章: WPF CRUD Generator (Scaffolding )

还有一个 Codeplex 项目可能会有所帮助:WPF Scaffolder

享受吧!

Scaffolding is a way to automatically generate UIs for each table in the database. It lets you create a functional UI for viewing and editing data based on the schema of the data. Here are a couple of resources for WPF scaffolding.

There is a WPF scaffolding article on the Code Project website: WPF CRUD Generator (Scaffolding)

There is also a Codeplex project that could be helpful: WPF Scaffolder

Enjoy!

你的笑 2024-07-22 22:59:53

谢谢..这会派上用场的..我还发现了这个 http://karlshifflett.wordpress .com/xaml-power-toys/ 它允许您连接模型中的表单..

再次感谢

Thanks.. that will come in handy.. i also found this http://karlshifflett.wordpress.com/xaml-power-toys/ which allows you to hook up the forms from models..

Thanks once again

三生殊途 2024-07-22 22:59:53

我不确定对视图有何帮助,但是 这个工具应该有助于视图模型。 我从未使用过它,所以不能保证它的效果如何。

I'm not sure of anything to help with the views, but this tool is supposed to help with view models. I've never used it so can't vouch for how effective it is.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文