This project is read-only.

Can I get the information if the window is currently docked?

Aug 1, 2012 at 5:10 PM
Edited Aug 1, 2012 at 6:58 PM


first of all I would like to thank the creators for this library. It looks very promising for me. Especially I like (and need) the feature that the AvalonDock windows supports WindowsFormsHost controls.

Now to my question:
I would like to know if I can bind to the information if a LayoutItem is in a window which is currently docked (or floated)

Analogous to your donload samples the code could like below:
<Style TargetType="{x:Type avalonDock:LayoutItem}">
  <Setter Property="IsDocked" Value="{Binding Model.IsDocked}"/>
But there is no IsDocked property...

Best Regards

Aug 2, 2012 at 11:06 AM

At moment the IsDocked property is not available outside to the LayoutItem, probably in the future it will be. For now I guess you can achive the same effect using an adapter, Ado