Posted 17 years ago
by Michael Sabo
-
-privat-
![Avatar](https://secure.gravatar.com/avatar/2102388700ac45dd293ab2f9e27ce294.jpg?s=64&d=identicon&r=g)
Hello
I am evaluating the docking control whether I can realize my gimmick.
I need a notification if a ToolWindow change his state from Docking to AutoHide.
I don't find a event for it.
Or is it possible to get information about this action from other events?
I tried following code:But the property State is always AutoHide.
Should it not be only AutoHide if is it temporary displayed (move mouse over Tab in Tabstrip)
Thanks
Michael
I hope you understand me ;)
[Modified at 08/11/2007 12:56 PM]
I am evaluating the docking control whether I can realize my gimmick.
I need a notification if a ToolWindow change his state from Docking to AutoHide.
I don't find a event for it.
Or is it possible to get information about this action from other events?
I tried following code:
private void OnAutoHideToolWindowHiding(object sender, TabbedMdiWindowEventArgs e)
{
ToolWindow current = e.TabbedMdiWindow as ToolWindow;
if (current.State != ToolWindowState.AutoHide)
current.AutoHideSize = current.Size;
}
Should it not be only AutoHide if is it temporary displayed (move mouse over Tab in Tabstrip)
Thanks
Michael
I hope you understand me ;)
[Modified at 08/11/2007 12:56 PM]