Is it possible in AvalonDock to programatically change DockableContent state to floating?
Posted
by
Marqus
on Stack Overflow
See other posts from Stack Overflow
or by Marqus
Published on 2010-12-22T08:51:10Z
Indexed on
2010/12/22
8:54 UTC
Read the original article
Hit count: 354
c#
|avalondock
In my application I'm loading windows from 'plugins', so my app doesn't know them until runtime. I'm creating DockableContent for each plugin and sets it's Content to Control returned by plugin. Each plugin tells, if it's window should be initially docked or floating, user can change it later.
So I have an instance of DockableContent and I want to change it to FloatingWindow programatically. Changing content.DockableStyle to DockableStyle.Floating isn't enough, what else I have to do?
© Stack Overflow or respective owner