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

Setting CommandBarToggleButton ToggleState with Default Theme

2 Answers 175 Views
CommandBar
This is a migrated thread and some comments may be shown as answers.
Kurt
Top achievements
Rank 1
Kurt asked on 17 Sep 2013, 09:40 PM
I have noticed a strange behaviour with togglebuttons when using the default theme, which seems to not occur in the other themes I have tested.

When the CommandBar toggle buttons are activated using a mouse the pressed state has the gradient, when I set them programatically, or when I change to another theme in code and then change back to Default theme the buttons are still depressed but they are now a solid shade of orange and have lost the gradient. This behaviour doesn't seem to occur on any of the other themes.

In the image I have set 5 of the 6 buttons to toggled, taken a pic1 in black theme, changed to default theme where it loses the shading pic2, then used the mouse to togggle off and on two buttons which are now again shaded pic3.

Best Regards,

Kurt

2 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 18 Sep 2013, 01:24 PM
Hi Kurt,

Thank you for your feedback.

I confirm that the issue exists in our ControlDefault theme. Please find attached a modified version of it that addresses gradient style. You can load it in your project using the LoadPackageResource method as it is described in this article. The improved theme will be included in Q3 2013 due in mid-October.

Your Telerik points have been updated for your cooperation.

Regards,
Nikolay
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Kurt
Top achievements
Rank 1
answered on 19 Sep 2013, 12:35 AM
Thanks for the fix,will look for it in the next release.

Best Regards,

Kurt
Tags
CommandBar
Asked by
Kurt
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Kurt
Top achievements
Rank 1
Share this question
or