Declined
Last Updated: 12 Oct 2018 08:20 by ADMIN
Grinden
Created on: 11 Sep 2018 10:34
Category: ComboBox
Type: Feature Request
0
ComboBox: An easy way to appear disabled while leaving the contents visible
If you set IsEnabled = false, in the RadComboBox then (in the Office 2016 theme) the entire box is faded, including the text. A suggestion in the forum was to set IsHitTestVisible to false, as well as IsTabStop. This works, but it means that the dropdown button still looks enabled. It would be nice if IsReadOnly did what I wanted, but it doesn't. 
Therefore, either a way to set the Visibility/Opacity of the dropdown button. Or alternatively, modify the theme(s) to make the text more visible when the box is IsEnabled is set to false, in the same way as the standard ComboBox. 
I'm aware that I can modify the template myself, but it'd be nicer if it was built in. 
Attached Files:
1 comment
ADMIN
Vladimir Stoyanov
Posted on: 18 Sep 2018 17:10
Hello Richard,

In general we try to be consistent in the behavior of the controls both visually and functionally. Please, note that, when disabled, the RadComboBox has a consistent look across all of the available themes(including the Office2016). If we were to modify the look in the Office2016 theme, this would no longer be the case. 

That said, you can easily modify the RadComboBox's ControlTemplate in order to change the foreground of the text. I am attaching a sample project demonstrating this for your reference. I have included comments to indicate where I made modifications.

I hope you find this helpful.

Best regards,
Vladimir