Scaffolding for WPF using MVVM?

我的未来我决定 提交于 2019-12-04 19:09:35

问题


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?


回答1:


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




回答2:


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!




回答3:


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




回答4:


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.



来源:https://stackoverflow.com/questions/704337/scaffolding-for-wpf-using-mvvm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!