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

Office2010Blue Theme

4 Answers 148 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Arun Kumar
Top achievements
Rank 2
Arun Kumar asked on 03 Dec 2011, 09:08 AM
How do I change RadDock background to Transparent to show image?

4 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 07 Dec 2011, 01:26 PM
Hi Arun,

To support transparent background of RadDock control you must setup all BackColor properties of all SplitPanelElement to Transparent:

radDock1.SplitPanelElement.Fill.BackColor  = Color.Transparent;
radDock1.SplitPanelElement.Fill.BackColor2 = Color.Transparent;
radDock1.SplitPanelElement.Fill.BackColor3 = Color.Transparent;
radDock1.SplitPanelElement.Fill.BackColor4 = Color.Transparent;
 
radDock1.MainDocumentContainer.SplitPanelElement.Fill.BackColor = Color.Transparent;
radDock1.MainDocumentContainer.SplitPanelElement.Fill.BackColor2 = Color.Transparent;
radDock1.MainDocumentContainer.SplitPanelElement.Fill.BackColor3 = Color.Transparent;
radDock1.MainDocumentContainer.SplitPanelElement.Fill.BackColor4 = Color.Transparent;

Please keep in mind that the RadDock control is dynamic control and its containers for ToolWindows and DocumentWindows are frequently recreated. The best solution in this situation is change colors of SplitPanelElement in Visual Style builder and use your custom theme implementation. More details about theming you can find in our online documentation.

I hope this helps.


Best wishes,
Julian Benkov
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

0
Arun Kumar
Top achievements
Rank 2
answered on 07 Dec 2011, 02:33 PM
Hi Julian Benkov,

I had removed the ContainerFill repository item from MainSplitContainer, InnerSplitContainer and DocumentContainer and set backcolor, backcolor2, backcolor3 and backcolor4 to Transparent. But still it is not working. Any idea ?

0
Arun Kumar
Top achievements
Rank 2
answered on 11 Dec 2011, 12:07 PM
No solution ???
0
Julian Benkov
Telerik team
answered on 12 Dec 2011, 12:29 PM
Hi Arun,

Please view the attached video for details on how to configure and build RadDock theme to support transparent background.

Do not hesitate to contact us if you have further questions or issues.

Greetings,

Julian Benkov
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

Tags
Themes and Visual Style Builder
Asked by
Arun Kumar
Top achievements
Rank 2
Answers by
Julian Benkov
Telerik team
Arun Kumar
Top achievements
Rank 2
Share this question
or