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
0
Hi Arun,
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
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 ?
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
Hi Arun,
the Telerik team
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,
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.