Blogs

Gary's Blog

XAF - Easy MDI and Docking V2010 Vol 1

     

Previously, creating MDI XAF applications wasn’t an easy task. Now, XAF includes a new MDI Show View Strategy and enabling the multiple document interface is a matter of writing a single line of code. What’s more, the new MDI Show View Strategy comes with docking functionality which allows you dock and undock Views. This means that root List Views can now be opened in separate windows.

To enable this feature I simply switch an application’s Show View Strategy to MdiShowViewStrategy:

winApplication.ShowViewStrategy = new MdiShowViewStrategy(winApplication);

And I now have an MDI application:

XAF Mdi Application Window

As docking is also supported, I can dock and undock views (opened in tabs) by simply dragging them:

XAF Window Docking

I can even Control + Shift + Click a navigation item and the corresponding View will be invoked in a new window:

XAF Open View in New Window

And that is how 10.1 will make your life easier if you work with MDI applications!

Until next time, happy XAFing! :-)

Published Apr 06 2010, 02:05 PM by Gary Short (DevExpress)
Filed under: ,
Technorati tags: V2010 V1, XAF
Bookmark and Share

Comments

 

Twitter Trackbacks for XAF - Easy MDI and Docking V2010 Vol 1 - Gary's Blog [devexpress.com] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 XAF - Easy MDI and Docking V2010 Vol 1 - Gary's Blog         [devexpress.com]        on Topsy.com

April 7, 2010 5:24 AM
 

Sascha Wilhelm said:

I'm sitting here and waiting for it like a Pavlov's dog.

You rang the bell - when will there be the food?

Indeed, this is a feature I've been waiting a long time for and I need it asap. Any decision when there will be the first beta?

April 7, 2010 5:45 AM
 

Dennis (DevExpress Support) said:

Hi Sascha,

Thanks for your comment! We are happy to hear that you like this feature.

If all goes according to plan, then the beta will be available in the next week or so. No exact promises, as usual. Please stay tuned!

Also, if you feel that some feature is missing in XAF and it may help you and other customers to achieve business requirements more easily and allow you to deliver more value to the clients, don't hesitate to contact us at support@devexpress.com or register a suggestion via the Support Center at www.devexpress.com/.../CreateIssue.aspx

We will be glad to hear from you and let you know what we can do for you.

April 8, 2010 3:54 PM
 

Alberto Cortes said:

YES,YES,YES, GREAT!!!.

Congratulations!

April 9, 2010 12:01 PM
 

John Botibol said:

It seems that you can actually just set this via the ME (now 10.1 Beta has arrived) and switch your application at will, very nice.

April 21, 2010 9:16 AM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.