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

Q2 2014 Update

3 Answers 49 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Saif
Top achievements
Rank 2
Saif asked on 09 Aug 2014, 06:17 AM
Kindly check the attached file.
After i update theme color changed.
how can i change the disabled backcolor?

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 13 Aug 2014, 02:05 PM
Hi Saif,

Thank you for writing.

We have such bug report in our Feedback Portal. You can find the report here: UI for Winforms Feedback Portal - FIX. Windows8 and VisualStudio2012Light themes cause RadTextBox and controls which contain TextBoxItem to have a black background when disabled. The issue is resolved and will be released with our next version - Q3 2014. For the time being you can use the workaround specified in the item. Namely:

For the RadTextBox, set the BackColor of the RootElement to white:
textBox.RootElement.BackColor = Color.White;

For the RadMaskedEditBox, set the BackColor of the TextBoxItem to white:
maskedEditBox.MaskedEditBoxElement.TextBoxItem.BackColor = Color.White;

For the RadDateTimePicker, set the BackColor of the TextBoxItem to white as follows:
dateTimePicker.DateTimePickerElement.TextBoxElement.TextBoxItem.BackColor = Color.White;

For any other control which uses RadTextBoxItem you can use similar approach to set the BackColor.

I hope this helps.

Regards,
George
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.
 
0
Saif
Top achievements
Rank 2
answered on 23 Aug 2014, 07:52 AM
how about for the RadMultiColumnComboBox?
i tried to use below code
this.RadMultiColumnComboBox.RootElement.BackColor = Color.White;
but color still Black.
0
Ralitsa
Telerik team
answered on 26 Aug 2014, 06:58 AM
Hi Saif, 

Thank you for contacting us. 

You can use the following code snippet for RadMultiColumnComboBox:
this.radMultiColumnComboBox1.MultiColumnComboBoxElement.TextBoxElement.BackColor = Color.White;

Should you have further questions, I would be glad to help. 

Regards,
Ralitsa
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
Themes and Visual Style Builder
Asked by
Saif
Top achievements
Rank 2
Answers by
George
Telerik team
Saif
Top achievements
Rank 2
Ralitsa
Telerik team
Share this question
or