Thank you for contacting us.
Here are the answers to your questions:
1. In order to set the position of the pin button, you need to change the way it is docked in the caption area. Here is a sample code snippet which loops though all ToolWindows and sets the position of the pin button to left:
i = 0; i <
.radDock1.DockWindows.ToolWindows[i].ToolCaptionButtons = Telerik.WinControls.UI.Docking.ToolStripCaptionButtons.AutoHide;
ToolTabStrip strip = (ToolTabStrip)
RadToggleButtonElement pinButton = (RadToggleButtonElement)strip.CaptionElement.Children.Children;
2. You can open AutoHide window only on click by handling the AutoHideWindowDisplaying event and checking what is the reason for which the window is going to be shown. If it is TabItemClicked, then we can allow the operation:
sender, AutoHideWindowDisplayingEventArgs e)
(e.DisplayReason == AutoHideDisplayReason.TabItemClicked)
3. Currently, there is an issue with the size of the AutoHide windows and although it is set by the AutoHideSize property, the AutoHide window still can't cover the entire RadDock area. It is logged in our Public Issue Tracker
, but I cannot provide you with a workaround for the time being.
the Telerik team
You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar
to see first all the latest enhancements.