[Version 2.0] How to travers DockingManager and find LayoutContent?

Nov 3, 2012 at 2:30 PM

Hello I am new in AvalonDock and also new in .net so maybe I am asking obvies question.

But I am not able to find way how to travers thru DockingManager and find my Content.

For example if I create new LayoutAnchorable object with my content and show this layout as Floating (LayoutAnchorable.Float()) how can I found this layout or his content thru DockingManager?

I didnt find a way how to name LayoutContent except Title, but my content is object "MyControl" derived from System.Windows.Controls.UserControl and for example have Name="Id_003"

Nov 5, 2012 at 10:37 PM

You can search the visual tree and this should worl as long as the documents/tool windows are docked:

I already entered an issue for this:



...and you can verify that it still exists by downloading my sample application from here: