Hi,
I currently have a toolwindow that has my own custom header set as the header.
On the customer header I have a button that sets the toolwindow to autohide and I use the following button action code to switch between autohide & dock.
If e.Window.State = DockingWindowState.AutoHide Then
e.Window.Dock(TheDockSite, Direction.Left)
Else
e.Window.AutoHide()
End If
But what I am finding is that on re-docking the toolwindow after the autohide, the custom header is not displayed (it is like the header content is empty), but if I then switch to autohide again the header is displayed correctly in the side tab. In order to show the header in dock mode I have to set the header contents again with the customer header instance.
To let you know in case it is something for next release.
Bret
I currently have a toolwindow that has my own custom header set as the header.
On the customer header I have a button that sets the toolwindow to autohide and I use the following button action code to switch between autohide & dock.
If e.Window.State = DockingWindowState.AutoHide Then
e.Window.Dock(TheDockSite, Direction.Left)
Else
e.Window.AutoHide()
End If
But what I am finding is that on re-docking the toolwindow after the autohide, the custom header is not displayed (it is like the header content is empty), but if I then switch to autohide again the header is displayed correctly in the side tab. In order to show the header in dock mode I have to set the header contents again with the customer header instance.
To let you know in case it is something for next release.
Bret