Decent way to restyle Rad(Toggle)Button

2 posts, 0 answers
  1. Espen
    Espen avatar
    16 posts
    Member since:
    Sep 2011

    Posted 12 Apr 2011 Link to this post

    So I wondered...Is there any decent way to restyle parts of a button? Specifically I'd like to set the background color of the button when it's selected (Checked state I believe). Seems like all tutorials out there want me to copy the whole style of the button, including style for ButtonChrome and alter these. Needless to say...the whole Theme.xaml...or whereever I put the style, makes the file look like hell. There's just so damn much markup. I can't really imagine this being necessary for such a small thing. So, what's the most reasonable way to do this, without copying the whole default style (but still keep the default part for the other things I don't change)? Possible at all?
  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 18 Apr 2011 Link to this post

    Hello Espen Berglund,

    It is not possible to copy only a part of the style that you want to change. On the other hand, you can edit the default style via Expression Blend which could be easier or you. If your xaml file is getting very big because of the custom styles, you can create a resource dictionary files to hold your style files.

    Best wishes,
    Petar Mladenov
    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. DevCraft R3 2016 release webinar banner
Back to Top