简体   繁体   中英

Scaffolding for WPF using MVVM?

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 ie 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?

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

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!

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM