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

change opacity for a panel and all it's controls

1 Answer 222 Views
Panel
This is a migrated thread and some comments may be shown as answers.
massoud
Top achievements
Rank 1
massoud asked on 04 Aug 2014, 10:21 AM
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.

Regards,

Massoud

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 06 Aug 2014, 11:51 AM
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.

Regards,
Dimitar
Telerik
 
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.
 
Tags
Panel
Asked by
massoud
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or