User control transparent

2 posts, 0 answers
  1. vbocanegra
    vbocanegra avatar
    19 posts
    Member since:
    Mar 2006

    Posted 26 Nov 2009 Link to this post

    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
  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 02 Dec 2009 Link to this post

    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,
    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.
Back to Top