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

toolWindow background

2 Answers 38 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Marius
Top achievements
Rank 1
Marius asked on 16 Jul 2012, 10:54 AM
Hello!
I am trying to remove the background of the dockManager. I want that the toolWindow to be transparent. I attached an image to be more explicit.

Thank you!

2 Answers, 1 is accepted

Sort by
0
Accepted
Boryana
Telerik team
answered on 19 Jul 2012, 05:49 AM
Hello Marius,

Thank you for writing.

I will need more information about your scenario in order to provide you with proper support. Your screenshot suggests this is an autohidden ToolWindow with some dark blue element in it, however, I am not sure whether you would like make transparent the grey vertical strip (holding the Favorite tab) or the contents of the ToolWindow. In the former case please try the following approach:
RadPageViewStripElement stripElement = this.radDock1.GetAutoHideTabStrip(Telerik.WinControls.UI.Docking.AutoHidePosition.Left);
stripElement.BackColor = Color.Transparent;
stripElement.BorderRightColor = Color.Transparent;
stripElement.BorderLeftColor = Color.Transparent;
stripElement.BorderTopColor = Color.Transparent;

The latter scenario requires more knowledge about the controls in your ToolWindow. Please provide further screenshots or code snippets.

I am looking forward to your reply.

Greetings,
Boryana
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Marius
Top achievements
Rank 1
answered on 23 Jul 2012, 07:42 AM
Thank you for the solution! Solved my problem.
Tags
Dock
Asked by
Marius
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Marius
Top achievements
Rank 1
Share this question
or