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

IsReadOnly or Disabled Mask Issue

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
crazy05
Top achievements
Rank 1
crazy05 asked on 22 Mar 2016, 02:38 PM

Hello,
When we make Rad control IsReadOnly=True or disbaled the control, the value inside is not looking good. It masks the value.

How can we remove the mask or make more transparent to make the value visible more bright ?

 

I am using Expression Dark Theme

Please guide me

1 Answer, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 23 Mar 2016, 07:49 AM
Hello Ram,

In order to achieve the desired approach, you need to create an implicit style for the desired control which should be based on the default one from the ExpressionDark theme. After that you need to modify its control template. The best way to do this is to create a custom resource dictionary and merge it below other resource dictionaries when ExpressionDark  theme is used. Inside it look for VisualState named ReadOnly / Disabled and remove the opacity value there.

I hope this helps.


Regards,
Masha
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
General Discussions
Asked by
crazy05
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or