remove "background" of toolbar

2 posts, 1 answers
  1. Froggie
    Froggie avatar
    29 posts
    Member since:
    Jan 2012

    Posted 13 Apr 2012 Link to this post

    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?

  2. Answer
    Boryana avatar
    330 posts

    Posted 18 Apr 2012 Link to this post


    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,
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top