Hi,
I'm using Q2 2009 SP1. I want to be able to set my RadDock background to Transparent so that the BackgroundImage of the host Form can show through it. I have used the sample code elsewhere in the thread to do this;
but I have a couple of problems with this;
1) It picks up the BackColor of the Form but isn't truly transparent (the form's Background Image does not show through). I've tried placing a Picture box with the image on the Form, docked, and at the back of the Z Order, but again the Dock picks up the backcolour of the form, not the graphic immediately behind it.
2) I want to be able to set the individual DocumentWindow items in the RadDock so that they gradually "fade out" - the tabs being fully opaque and gradually fading to transparent until by the time they get to the bottom they are fully transparent. The reason for this is that the Dock and TabStrip is quite an "intrusive" control and seems (to me) to dominate the user interface once its been put there - I'd like to be able to make it blend into the background once the important bit (the actual tabs) are visible to the user.
Can you help ?
I'm using Q2 2009 SP1. I want to be able to set my RadDock background to Transparent so that the BackgroundImage of the host Form can show through it. I have used the sample code elsewhere in the thread to do this;
this.radDock1.MainDocumentContainer.BackColor = Color.Transparent; |
Telerik.WinControls.RadElement el = this.radDock1.MainDocumentContainer.RootElement.Children[0].Children[0]; |
(el as Telerik.WinControls.Primitives.FillPrimitive).BackColor = this.BackColor; |
but I have a couple of problems with this;
1) It picks up the BackColor of the Form but isn't truly transparent (the form's Background Image does not show through). I've tried placing a Picture box with the image on the Form, docked, and at the back of the Z Order, but again the Dock picks up the backcolour of the form, not the graphic immediately behind it.
2) I want to be able to set the individual DocumentWindow items in the RadDock so that they gradually "fade out" - the tabs being fully opaque and gradually fading to transparent until by the time they get to the bottom they are fully transparent. The reason for this is that the Dock and TabStrip is quite an "intrusive" control and seems (to me) to dominate the user interface once its been put there - I'd like to be able to make it blend into the background once the important bit (the actual tabs) are visible to the user.
Can you help ?