Browsed by
Category: 648aaa3e-e338-438f-8cb4-f0534bf658ea

Caliburn.Micro and SimpleContainer

Caliburn.Micro and SimpleContainer

If you don’t want to use a fully fledged IoC container, then you can use the simple one Caliburn.Micro contains. It’s needed to support the Windows Phone development, but works with WPF, which is my interest.  It’s a source release, and you can get from Nuget, as Caliburn.Micro.Container. Of course, Caliburn.Micro has it’s own direct access to any IoC, like this in a ViewModel ctor:- public ShellViewModel() { windowsmgr = Caliburn.Micro.IoC.Get<IWindowManager>(); } But it makes testing difficult and this direct…

Read More Read More

AvalonDock v2 and Caliburn Micro

AvalonDock v2 and Caliburn Micro

 AvalonDockCaliburnMicro.zip (2.16 mb) A new version of AvalonDock is due to be released early March. See  http://avalondock.codeplex.com/. I thought I would attempt to integrate with Caliburn Micro, which should be easier now, as v2 of AvalonDock is MVVM compatible. To integrate there are two ways that I know of, (a.) to create a Custom Attached Property or Behaviour as suggested by Felice Pollano, http//www.felicepollano.com/Trackback.aspx?guid=9dcc8717-eb83-45b5-ac89-2f0d0cf05bde (b.) to create a Custom Convention along the lines that Valeriu Caraulean has done for Telerik…

Read More Read More