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

User control transparent

1 Answer 194 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
vbocanegra
Top achievements
Rank 2
vbocanegra asked on 26 Nov 2009, 07:46 PM
Good with everyone
I have a problem creating a user control with a radlabel. I would like both to be transparent and allow to see the bottom of the window, but I have failed. I tried changing the background and the opacity property.

Thanks in advance.

Victor Bocanegra

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 02 Dec 2009, 10:03 AM
Hi vbocanegra,

A UserControl does not support transparency by default. However, you can implement a transparent UserControl by following this article.

Please note that in the Windows Forms technology a control can be transparent only to its parent. This means that a RadLabel can be transparent only to the UserControl container, but not to other controls. Although the desired behavior is not supported, Microsoft suggest an approach that you can use to achieve transparency: WinForms: How to create a control transparent to other controls.

Kind regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
vbocanegra
Top achievements
Rank 2
Answers by
Nikolay
Telerik team
Share this question
or