Thank you for your replay.
From what I understand you want to show a given tool window that is already hidden as if you have hovered it with the mouse. For this scenario you will have to use reflection as the method which is responsible for the showing of a tool window is not public. Please consider the following code snippet:
MethodInfo method =
, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
.toolWindow.AutoHideTab, AutoHideDisplayReason.TabItemClicked });
In the above snippet this.toolWindow
is the tool window you want to show. In my case I have as a field, because I use the code snippet from my previous post to add a tool window to the dock.
I hope this is what you are looking for. Should you have further questions, feel free to contact us.
All the best,
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!