Custom Theme help

9 posts, 0 answers
  1. Ariel Ben Horesh
    Ariel Ben Horesh avatar
    22 posts
    Member since:
    Dec 2009

    Posted 30 Nov 2011 Link to this post

    Hey Guys (and Gals)
    I have spend today a few hours creating a custom theme for a new WPF project I've started to work on.
    This project includes Ribbon and a DockManager.
    We are planning on relying on the ExpressionDark theme.
    So I tried to create a custom theme project and use the xamls deployed with the install as a base line.
    but I couldn't make it work.
    Almost all xamls had reference to 
    xmlns:external="clr-namespace:Telerik.Windows.Controls.External"
    which I coudln't resolve.
    I tried to make them styles implicit but also it didn't avail.
    Can you assist me please,
    Ariel
  2. Ariel Ben Horesh
    Ariel Ben Horesh avatar
    22 posts
    Member since:
    Dec 2009

    Posted 30 Nov 2011 Link to this post

    Important note, I've upgraded to the newest release Q3.
    To see if my issues are solved with the new release, but it is still the same.
  3. Ariel Ben Horesh
    Ariel Ben Horesh avatar
    22 posts
    Member since:
    Dec 2009

    Posted 01 Dec 2011 Link to this post

    If I may also add, I did the practice with the Silverlight themes and it worked quite alright with the guide you published.
    It was not smooth but I managed to do that.
    With the WPF version I was surprisingly disappointed.
  4. Sia
    Admin
    Sia avatar
    757 posts

    Posted 01 Dec 2011 Link to this post

    Hello Ariel,

    We are sorry to hear that you have difficulties with your custom theme for WPF. We understand your point and we are already working on a new help topic covering all issues related to the custom themes in WPF.

    Meanwhile please replace all references to
    xmlns:external="clr-namespace:Telerik.Windows.Controls.External"
    with references to your custom theme project.
    Also you need to replace all Expression_DarkThemeExternal with the name of your custom theme.
    namespace CustomTheme
    {
        [ThemeLocation(ThemeLocation.External)]
        public class MyCustomTheme:Telerik.Windows.Controls.Theme
        {
            //test
        }
    }

    Please try this and let me know whether this helps. If you need additional help, I will prepare a sample project for you.

    All the best,
    Sia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Ariel Ben Horesh
    Ariel Ben Horesh avatar
    22 posts
    Member since:
    Dec 2009

    Posted 01 Dec 2011 Link to this post

    Thanks, 
    I'm trying it now.

    I would appreciate if you will be able to be responsive for my feedback in the near minutes.
    Thanks,
    Ariel
  6. Ariel Ben Horesh
    Ariel Ben Horesh avatar
    22 posts
    Member since:
    Dec 2009

    Posted 01 Dec 2011 Link to this post

    Yes, it works!!! :D

    Also as a side note that when you look on the theme projects there are files there that are not part of he project it self.
    for example all the directory containing the generic.xaml, etc is not included in the project.
    I think it is a good idea to revise the documentation and code for that.

    Thank you 
    Ariel
  7. Sia
    Admin
    Sia avatar
    757 posts

    Posted 01 Dec 2011 Link to this post

    Hi Ariel,

    Thank you for your feedback and I am happy to hear that you managed to do it by yourself. Please do not hesitate to contact us again if something else arise.

    All the best,
    Sia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  8. Ariel Ben Horesh
    Ariel Ben Horesh avatar
    22 posts
    Member since:
    Dec 2009

    Posted 01 Dec 2011 Link to this post

    Perhaps you can make this public, so other people can search for this.
    Ariel
  9. Sia
    Admin
    Sia avatar
    757 posts

    Posted 01 Dec 2011 Link to this post

    Hi Ariel,

    It is public now.

    Regards,
    Sia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top