In our project we have to define 15 screens for CRUD operations on core tables.
I want to define 1 screen with a list, navigation and UI markup just once, and want to re-use these screen for every CRUD table.
What is the best approach to achieve this?
I tried inheritance, but caught up with XAML that doesn't allow inheritance (I checked several approaches on the internet/blogs, but couldn't get a good result).
Answer: 1
The best way to cope with this is to use Styles, UserControls and possibly Templates to maximize re-use.
The only way to prevent having to define all those UI's is by generating them (design-time or run-time).
Lightswitch is a generator that can do (could have done) this for you.
You can also create your own UI Framework which creates the UI based on meta data but that might be too costly.
by : Ernohttp://stackoverflow.com/users/563088
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog