Creating themes

6 posts, 0 answers
  1. Saqib
    Saqib avatar
    7 posts
    Member since:
    Feb 2011

    Posted 22 Feb 2011 Link to this post

    Hi

    Could you please guide me how to open an existing telerik theme, save a copy of it and reuse it using expression blend?

    I'm a designer and am not from development background.
    A small step by step procedure or reference to any such tutorial would be highly appreciated. I'm currently using 'RadControls for Silverlight Q3 2010 SP1', Visual Studio 2010 and Expression Blend 4.

    Many thanks

    Regards,
    S.
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 22 Feb 2011 Link to this post

    Hi Saqib,  
    Please refer to the following online help articles:
    Please give it a try and let me know if you have any difficulties.


    Kind regards,
    Vanya Pavlova
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. Saqib
    Saqib avatar
    7 posts
    Member since:
    Feb 2011

    Posted 22 Feb 2011 Link to this post

    Hi

    Many thanks for such a prompt reply I'll go through the shared resources and give you a shout again in case of any issues.

    Regards,
    S.
  4. Michael Parsons
    Michael Parsons avatar
    1 posts
    Member since:
    May 2010

    Posted 23 Feb 2011 Link to this post

    Hi I am having trouble implementing setting themes or even using themes.
    I am using SL4, Telerlic 2010 Q3, VS2010, and c#
    I tried:
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    ---
      
    <tknv:RadMenu Height="22" Background="White" Margin="0,0,0,0" telerik:StyleManager.Theme="Vista">
    and no changes occur.

    If I set the theme in the App.Xaml.cs, it does work:

    Telerik.Windows.Controls.

     

    StyleManager.ApplicationTheme = new Telerik.Windows.Controls.VistaTheme();
    However the words in the top menu are cutoff (see attached)

    However our application has two possible audiences and would like a different theme for each one, so setting one theme in the app.xaml will not meet that need. The primary area of concern is the color displayed when hovering over a menu item. We would like a type of blue for one path and a green for the other path. So the preferred approach was thought to just override the appropriate colors in the appropriate resources. However I am having trouble finding where to do this. I did try just setting another theme in the code behind for a view file but no change occurred.

    I tried the 'Modifying a Built-In Theme' help item, but as I said, I think the preferred approach was to dynamically change the appropriate resources (but maybe not). I has downloaded examples where showing how to edit a theme or resources. I tried the latter without much success, but I am not very familiar with Blend 4 (also I am a developer and a reluctent designer).

    Can you provide some guidance and maybe an SL4 example?

     

  5. Saqib
    Saqib avatar
    7 posts
    Member since:
    Feb 2011

    Posted 23 Feb 2011 Link to this post

    Hi

    I've posted a support ticket # 397145
    I'm trying to edit the hover and pressed states of the button I've created through theme.

    Could you please guide me how can I do this?

    Regards
    S.
  6. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 23 Feb 2011 Link to this post

    Hello Michael,

     
    I have already replied to your support ticket.
    For those who might be interested in this case I am pasting the answer here as well:

    1. When you specify the theme in the App.xaml.cs, it will be applied to all RadControls at runtime, but it would not be visible at design time.
    2. Considering the template structure of the RadButton, there is a missing xaml file, which is ButtonChrome.xaml where you can specify the color you need. Please check our online documentation where you can see the template structure of RadButton.nk. 

     

    Greetings,
    Vanya Pavlova
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top