Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AvalonDock 2.0 with Prism 4 Region Adapter

I have been playing around with this question.

AvalonDock with Prism Region Adapter

Where someone is trying to add a prism region adapter. It sort of works but as soon as i float the panel the content vanishes and goes completely black.

Is this an error from me? I have also tried using regions directly under the dockingmanager and they can be updated but not when the region is already floated. Is this expected behaviour? ie. Can a floated region be updated?

I also tried the variation from vaccano here: http://avalondock.codeplex.com/discussions/358632

But i don't see how the regionmanager.setregionname() method creates a region which can be updated. ie. it is nowhere to be found in my region collection.

Any help with any or all of these much appreciated.

like image 828
stackeroverflow Avatar asked Jan 27 '26 08:01

stackeroverflow


1 Answers

I've posted a sample application that shows a way to integrate AvalonDock 2.0 with PRISM 4.1. Please follow the discussion: http://avalondock.codeplex.com/discussions/390255 Here you can download the sample project: http://avalondock.codeplex.com/releases/view/92210 Ado

like image 158
adospace Avatar answered Jan 29 '26 21:01

adospace



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!