This is a migrated thread and some comments may be shown as answers.

remove "background" of toolbar

1 Answer 66 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Froggie
Top achievements
Rank 1
Froggie asked on 13 Apr 2012, 11:38 AM
How can I achieve the following (see also picture)?

I have a Form which is displaying a image (the green).
Now i have a ToolWindow docked to the left (the blue and red). But when the Tollwindow is not docked I have this big blue bar on the left side.
What I want is just the "minimized" Toolwindow "floating" over the image.

How can I achieve this?

1 Answer, 1 is accepted

Sort by
0
Accepted
Boryana
Telerik team
answered on 18 Apr 2012, 09:46 AM
Hello,

Thank you for writing.

You can easily move the tabs to the center of the strip. Here is a sample snippet for the left TabStrip:
RadPageViewStripElement strip = this.radDock1.GetAutoHideTabStrip(Telerik.WinControls.UI.Docking.AutoHidePosition.Left);
strip.ItemAlignment = StripViewItemAlignment.Center;

However, the structure of RadDock does not provide an easy and straightforward way to make the tab "floating" over the ToolWindow. The tab appears in a TabStripElement, which by default is transparent, so the blue strip that you see in the attached image is the background color of RadDock. In this sense, to achieve the desired outcome you should move the ToolWindow to the left, under the TabStripElement. As I already mentioned this is not a trivial task.

Let me know if you have other questions.

All the best,
Boryana
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Dock
Asked by
Froggie
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Share this question
or