Changing mouse-over color

6 posts, 0 answers
  1. Lennart Bauer
    Lennart Bauer avatar
    22 posts
    Member since:
    Oct 2009

    Posted 31 May 2010 Link to this post

    Hi!

    Is there a simple way to change the mouse-over color for a RadButton?
    I have extracted the tamplate and there is a RenderMouseOver attribute. Can I change this in some way to achieve what I want?

    Regards,
    Lennart
  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 03 Jun 2010 Link to this post

    Hello Lennart ,

    In order to change the mouse-over color of the RadButton control you have to make the following steps:
     - After  you edit  the style of RadButton you will see in its control template ButtonChrome control .
     - You have to edit the control template of the  ButtonChrome . In it you will find all the states of the RadButton control.

    If you have further questions please do not hesitate to ask us.

    I hope this will help you.

    Regards,
    Dimitrina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Lennart Bauer
    Lennart Bauer avatar
    22 posts
    Member since:
    Oct 2009

    Posted 03 Jun 2010 Link to this post

    Thanks! Can you supply a short example?
  5. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 07 Jun 2010 Link to this post

    Hi Lennart ,

    Please find attached an example with a custom style of the RadButton control.

    If you have further questions please do not hesitate to ask us.
    I hope this will help you.



    Kind regards,
    Dimitrina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. hal broad
    hal broad avatar
    7 posts
    Member since:
    May 2010

    Posted 09 Nov 2010 Link to this post

    When I use this template on a RadRadioButton, I no longer get the different background color after the button is selected. Can you provide the section of the template that sets the selected/checked background color?

    Thanks.
  7. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 15 Nov 2010 Link to this post

    Hello hal broad,

    Could you please provide a snapshot of the desired outcome of the selected/checked background, because I am not sure what you exactly want to achieve?

    All the best,
    Viktor Tsvetkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready