How can I specify which auto hide panel a dock panel hides to? For example, I have a dock panel that is currently hiding to the bottom auto hide panel, but I would actually like it to hide on the left auto hide panel.
3 Answers, 1 is accepted
0
Nikolay
Telerik team
answered on 06 Jul 2009, 01:04 PM
Hello mitch arias,
Thank you for the question.
Your scenario is supported in the new version of RadDock, introduced in Q2 2009. In order to set the auto-hide position of a ToolWindow, you should set the AutoHidePosition property of the TabStrip that contains this ToolWindow:
How am I supposed to do that within a Transaction Block, where TabStrip = null after creating the ToolWindow.
Regards
Erwin
0
Georgi
Telerik team
answered on 07 Jul 2009, 08:30 AM
Hi Erwin,
The AutoHide position is dynamically chosen, depending on the position of the ToolTabStrip relatively to the MainDocumentContainer. Please, note that this logic was not present in the beta and the auto-hide position was not very intuitively chosen. By setting the AutoHidePosition property to anything different than Auto, you will lose this automatic behavior.
There are virtual methods of RadDock which may be overridden to provide completely custom auto-hide behavior. They however are not associated with public events and you will need to derive from RadDock in order to extend them. Since SplitContainers and DockTabStrips are dynamic parts of the docking scene and only the DockWindows are constant, we will consider adding more public events, which will allow easier and more intuitive way for controlling these dynamic parts behavior and appearance.