Using VisualStudio2013 theme with the dark palette, a RadComboBox shows up in a RadWindow with the selected edit text color as black on a dark background, which is hard to read.
The drop-down part text color is white, so all good there. Just the textbox part.
11 Answers, 1 is accepted
I was not able to reproduce the described problem. I've created a demo project with the described scenario where the selected text inside Editable RadComboBox has the correct foreground. Can you check if I am missing something to reproduce the issue?
Regards,
Masha
Telerik


I removed IsEditable=True from the project, however I cannot observe the described behavior (please check the attached video). Also can you please share a screenshot or video of what you see on your side if different?
I'm looking forward to hearing from you.
Regards,
Kalin
Telerik by Progress

Dear Kalin,
currently I am having the same issue regarding the dark text on dark background when using the dark theme of VS2013.
I have added a screenshot. The project can be downloaded from https://support.edevis.com/External/DarkThemevs2013.zip
Version of my dlls is 2016.2.613.45
Kind Regards

Hi,
It's easy to make changes in the theme xaml files. Since you are resourcedictionary merging these theme xaml files somewhere in your system, you just need to get the original file of Telerik.Windows.Controls.Input.xaml, make a copy, look for "NonEditableComboBox", and in "PART_DropDownButton", add:
Foreground="{telerik1:VisualStudio2013Resource ResourceKey=MarkerBrush}"
And then point your ResourceDictionary Source to that xaml which you include in your project. There's help in the implicit themes documentation. Snoop is also your friend to find these elements in the xaml files.
I tested the sample project, however everything worked as expected on our side. Please check the attached video of my tests. Can you please share what OS version are you using and anything else that can be helpful? Are you able to reproduce it on other machine?
I'm looking forward to hearing from you.
Regards,
Kalin
Telerik by Progress

Dear Kalin,
I think I found the problem. We were using the binaries with XAML included. When using the assemblies with no XAML it works as intended.
This was because the assemblies were also used in projects without theming. And without loading a theme the controls have no templates.
Is there a theme that uses the "default" from the XAML-included assemblies as a workaround for using the same assemblies for themed and unthemed? For example if I would like to switch themes at runtime but also wanted to include "no theme".
Kind Regards
Jean-Philippe
I'm glad you have managed to find the source for issue. The default theme seen when using the XAML binaries is called OfficeBlack, so what I can recommend you would be to use only No XAML binaries and simply switch to OfficeBlack when you want to go with "no theme".
Hope this helps.
Regards,
Kalin
Telerik by Progress

IsEditable="True"
IsReadOnly="True"
SelectAllTextEvent="None"
Hi Victor,
Thank you for sharing your solution with our community.
Regards,
Dilyan Traykov
Progress Telerik