Prism 4 MEF Dock Manager

Dec 13, 2010 at 1:45 PM

I am new to MEF Framework. 

I have set up regions for an application (MenubarRegion, RibbonBarRegion, OutlookBarRegion, ViewRegion, AddInRegion, and StatusBarRegion) 

I would like a region to expand or contract if it does not have a component loaded in it (Same functionality as the Dock Manager).  I also would like to be able to dynamicall resize the regions. 

Is this possible with MEF?

If the DockManager the correct component to use?

How can I incorporate Region like componet injection into the Dock Manager?

Any Code Samples?


Dec 13, 2010 at 3:13 PM

You will need to create a Region adapter for your Dock Manager to host it as a Region. That is

public class DockManagerRegionAdapter : RegionAdapterBase<DockControl>
Dec 13, 2010 at 3:16 PM

Also just to add you can post Prism 4 and MEF related questions in the prism discussions here.