Setting CommandBarToggleButton ToggleState with Default Theme

3 posts, 0 answers
  1. Kurt
    Kurt avatar
    11 posts
    Member since:
    Dec 2007

    Posted 17 Sep 2013 Link to this post

    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. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 18 Sep 2013 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kurt
    Kurt avatar
    11 posts
    Member since:
    Dec 2007

    Posted 18 Sep 2013 Link to this post

    Thanks for the fix,will look for it in the next release.

    Best Regards,

    Kurt
Back to Top