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

Transparent Rad Title bar problem

4 Answers 226 Views
TitleBar
This is a migrated thread and some comments may be shown as answers.
Uday
Top achievements
Rank 1
Uday asked on 17 Jan 2012, 01:10 PM
Hello All,

I am trying to design a windows forms application using Shaped form and Rad Title bar.

I have created a background image and applied to Shaped form. And now i want the Rad title bar to be transparent so as to show my shaped form background image. Somehow, the backcolor = "transparent" is not working. And while making the "Enable Theming" Property to false, i get a semi-Transparent blended image.

How to get this done (i.e) title bar completely transparent?

Any help is appreciated!

Regards,
Uday

4 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 18 Jan 2012, 04:51 PM
Hello Uday,

Thank you for writing. 

You can find the answer to your question in your support ticket "How to get Transparent Title bar with shaped forms", which is available in Your Account. Please get back to me there with the requested information.

Regards,
Stefan
the Telerik team

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

0
Brad
Top achievements
Rank 1
answered on 03 Nov 2012, 03:28 AM
Any chance we can get the answer posted in the forum so everyone can use it?

Thanks,

- Brad
0
Stefan
Telerik team
answered on 07 Nov 2012, 11:56 AM
Hello Brad,

Here you are:

It is possible to achieve your scenario. Just set the BackColor of the RootElement to Transparent and the hide the fill and borders. Here is a code snippet:
this.radTitleBar1.RootElement.BackColor = Color.Transparent;
this.radTitleBar1.TitleBarElement.FillPrimitive.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
radTitleBar1.TitleBarElement.Children[1].Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

I hope this helps.
 
Greetings,
Stefan
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Brad
Top achievements
Rank 1
answered on 09 Nov 2012, 07:52 PM
This worked.  Thanks for the follow-up.

- Brad
Tags
TitleBar
Asked by
Uday
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Brad
Top achievements
Rank 1
Share this question
or