Material Theme Changed?

2 posts, 0 answers
  1. Matt
    Matt avatar
    13 posts
    Member since:
    Mar 2018

    Posted 04 Jun 2018 Link to this post

    Hello,

    This morning I updated a project I am currently working on that is using the Material theme to the newest Winforms controls release. Before when I would click on a button, the button would do a little "click" visual effect and then that was it. Now when I click on a button it plays that effect and then the button turns purple. Was this theme changed and how do I fix this? Having a button turn purple is extremely distracting and will most likely confuse the users of my programs.

    Thanks,

    Matt

  2. Dimitar
    Admin
    Dimitar avatar
    2823 posts

    Posted 05 Jun 2018 Link to this post

    Hi Matt,

    We had a reports that there is no visual indicator for the focused button. This is why we have made the change in the theme. If you want to remove it you can set this in code:
    this.radButton1.ButtonElement.SetThemeValueOverride(FillPrimitive.BackColorProperty, Color.White, "IsDefault", typeof(FillPrimitive));

    You will need to do it for each button.

    Should you have any other questions do not hesitate to ask.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top