What is good WPF application framework for MFC document style project?
-
I want to create simple File Editing based application, a typical advanced version of NotePad or WordPad, which should have menus and undo/redo buttons on toolbar etc. In MFC, there was a wizard to automatically create a document based project which will contain default UI. In WPF, there is no such thing, MVVM exists but its too basic to start, I have to anyway write almost everything. Toolbar/Toolbar buttons, menus, keyboard shortcuts. Is there any good framework that provides these things? I have seen WPF Application Framework , PRISM and other MVVM libraries, but it hardly contains anything for editing UI.
-
Answer:
As you noticed, WPF doesn't provide such a control out of the box. The other frameworks you mentioned are primarily for dealing with separation of concerns and some common helpers that can be used (commands, messenger etc.,). So, that leaves us with a couple of options: 1. Write your own toolbar - keyboard shortcuts can be easily managed if you choose to implement commands instead of handling click events in the code-behind. You can read more about commanding and keybinding here: http://msdn.microsoft.com/en-us/library/ms752308.aspx If you choose this route, you might also want to look at the Ribbon control, which most modern applications use instead of a toolbar: http://msdn.microsoft.com/en-us/library/ff799534.aspx 2. Look at third party controls like these: http://www.telerik.com/products/wpf/overview.aspx http://www.infragistics.com/products/wpf http://www.componentone.com/SuperProducts/StudioWPF/ http://www.devexpress.com/Products/NET/Controls/WPF/ Given that you are looking at implementing something like notepad or wordpad, I'd recommend option 1 - as almost all the third party controls are not free (although they offer a free trial) and they're usually preferred if you have a bigger project at hand. Hope this helps!
Amar Nityananda at Quora Visit the source
Related Q & A:
- How to create complete .exe in WPF .net framework application?Best solution by Programmers
- What is a great idea for an Android or Java project?Best solution by 1000projects.org
- How do I write a good job application letter?Best solution by Yahoo! Answers
- What are good jobs that pay good money?Best solution by ChaCha
- What are good website ideas and good website names?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.