Posted 18 years ago
by Michael Sabo
-
-privat-

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]