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

Styling RadToggleButton

5 Answers 251 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 16 Oct 2012, 08:54 PM
Can someone point me to an example of changing the appearance of a RadToggleButton (hover, checked, not checked) using a ControlTemplate or otherwise (But NOT using Expression Blend)?

Thank you.

5 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 19 Oct 2012, 08:48 AM
Hello Mike,

Take a look at the attached project where I have extracted the RadRadioButton default style in the Application.Resources section so you can customize it. In case you want to edit other RadControls styles, you can find all Resource Dictionaries, used by our controls, in the Themes and Themes.Implicit folders of your Telerik Controls Installation destination folder and you can copy the style which you want to customize into your application.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Bill
Top achievements
Rank 1
answered on 15 Jan 2013, 11:17 PM
Hi Pavel,

I recently updated my Telerik WPF controls from Q1 2012 to Q3 2012 using the Telerik update wizard in VS2010.  This did not update the Telerik Controls Installation files.

Where can I get the corresponding Themes and Themes.Implicit folder contents, as well as the rest of the contents of "C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2012 SP1" for Q3 2012 - such as the Demos, VSExtensions, etc.?

Thanks,
Bill
0
Pavel R. Pavlov
Telerik team
answered on 18 Jan 2013, 03:11 PM
Hi Bill,

The update wizard downloads only the hotfix package (Binaries, Binaries.NoXaml, Themes.Implicit) and saves them in the following destination: %appdata%\Telerik\Updates. You can find them there. However, the demos can be downloaded separately from your account. For further information about the update wizard you can take a look at this article.

All the best,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Bill
Top achievements
Rank 1
answered on 18 Jan 2013, 04:48 PM
Thanks for the info Pavel.  Unfortunately, the installer removed the old files - without a prompt asking if that is what I wanted - instead of just adding the new version.  I don't think it will impact me, but I would have preferred it to have left the old versions available for reference, in case I have projects on different versions.  I also think that the installer also would have updated all of my projects, again, without asking or any indication of what was happening.  This is different than the much preferred approach of extension updater in VS2010 which updates the binaries - it allows much better control over what gets updated.
0
Biliana Ficheva
Telerik team
answered on 22 Jan 2013, 07:00 AM
Hi Bill,

By default the installer removes all older versions available on the machine, but this is an option which could be managed using the Options menu of the installer (it is in the top right corner under the Give Feedback, the option is a check box named Keep Previous Parallel Versions). Also when you are installing a new version there is a text in the installer saying that all previous versions will be removed as you can see in the attached images.

As for the update of your projects I would say that the installers do not upgrade projects. However if you are installing a new Minor version of our controls (Service Pack for example) it will upgrade your previous Major version which will replace your old assemblies with the new one. Your projects are referencing the assemblies from the instillation directory of the products, so after this replacement they will continue to reference the same location in which the assemblies are already replaced with new once. You could find more information about the major and minor installers here: Major and Minor releases.

Kind regards,
Biliana Ficheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Buttons
Asked by
Mike
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Bill
Top achievements
Rank 1
Biliana Ficheva
Telerik team
Share this question
or