Styling RadToggleButton

6 posts, 0 answers
  1. Mike
    Mike avatar
    3 posts
    Member since:
    Sep 2011

    Posted 16 Oct 2012 Link to this post

    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.
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 19 Oct 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Bill
    Bill avatar
    9 posts
    Member since:
    Mar 2012

    Posted 15 Jan 2013 Link to this post

    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
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 18 Jan 2013 Link to this post

    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.

  6. Bill
    Bill avatar
    9 posts
    Member since:
    Mar 2012

    Posted 18 Jan 2013 Link to this post

    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.
  7. Biliana Ficheva
    Admin
    Biliana Ficheva avatar
    99 posts

    Posted 22 Jan 2013 Link to this post

    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.

Back to Top
UI for WPF is Visual Studio 2017 Ready