change opacity for a panel and all it's controls

2 posts, 0 answers
  1. massoud
    massoud avatar
    1 posts
    Member since:
    Aug 2014

    Posted 04 Aug 2014 Link to this post

    Hi dudes,

    I want to use a radpanel and then set it's opacity and all controls that are in this panel equal 0.5;

    I would appreciate if anyone can help me.


  2. Dimitar
    Dimitar avatar
    2983 posts

    Posted 06 Aug 2014 Link to this post

    Hi Massoud,

    Thank you for writing.

    For example you can set the panel and the button (which is inside it) opacity like this:
    radPanel1.RootElement.Opacity = 0.5;
    radButton1.ButtonElement.Opacity = 0.5;

    Nevertheless I am not sure what exactly you want to achieve in this case. Perhaps you can attach a sample image of the desired layout?

    I am looking forward to your reply.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top