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

Change style of button

2 Answers 165 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Jacques
Top achievements
Rank 2
Jacques asked on 30 Jul 2012, 02:54 PM
Hi there,

I'm using WPF and Telerik's WPF controls for the first time and I'm trying to figure out how I can change the style of the button. Right now I'm using radio buttons to switch between different sections of an application, but they still look like regular buttons. I want to remove the background and have an icon appear above the text in the middle instead.
It should also have a specific hover and active state.

Thanks,
Jacques

2 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 31 Jul 2012, 04:22 PM
Hello Jacques,

You can use the RadRadioButton.IsBackgroundVisible property and set it to False to make the button transparent. You can also define an Image object as the Content of the button. I attached a sample solution demonstrating this approach. 

If you still need to edit the default style or ControlTemplate of the RadRadioButton you can take a look at our documentation describing how to customize the control. 

Let me know if that helps or if you need more info.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Jacques
Top achievements
Rank 2
answered on 01 Aug 2012, 06:51 AM
Thanks Tina, That will do the trick
Tags
Buttons
Asked by
Jacques
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
Jacques
Top achievements
Rank 2
Share this question
or