This project is read-only.

[Version 2.0] LayoutElement

Mar 4, 2012 at 10:25 PM

Doesn't derive from DependencyObject anymore?

I can't add my attached properties :(

Steve

Mar 4, 2012 at 11:42 PM

Hi Steve
Yes, that's what I found.
See http://avalondock.codeplex.com/discussions/343066
Have a look at my Caliburn Micro solution. One can attach a property to DockingManager and work at that level.
I think Layout is separate from Documents
John

Mar 5, 2012 at 7:14 PM

John/Ado,

I have decided to try the DataTemplateSelector approach to having tabs with different user controls based on the ViewModels in DocumentsSource.

The upshot is that I won't have to use Robert McCarter's DocumentManagerAdapter approach so the LayoutElement doesn't have to derive from DependencyObject because I no longer need to add attached properties to it.

Steve