Problem with StyleManager.ApplicationTheme

4 posts, 0 answers
  1. chinbnhike
    chinbnhike avatar
    11 posts
    Member since:
    Nov 2008

    Posted 10 Feb 2010 Link to this post

    Hi,

    I have problem when i set them for my app:

    In xam: i have a RadMenu

    in codebehind:

    Public Sub New()

        StyleManager.ApplicationTheme = New Windows7Theme

        InitializeComponent()

    End Sub

    It throw Exception: Attach file

    Thanks!!!

  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 15 Feb 2010 Link to this post

    Hello Hoang,

    I cannot reproduce this issue. Could you please check that you have reference to Telerik.Windows.Themes.Windows7 assembly. If you have reference then please open a support ticket and attach sample project demonstrating the problem.

    Sincerely yours,
    Hristo
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. chinbnhike
    chinbnhike avatar
    11 posts
    Member since:
    Nov 2008

    Posted 21 Feb 2010 Link to this post

    Oh!,
    It's work. thanks!!!

    Why i still Build success when i do not  reference to Telerik.Windows.Themes.Windows7 assembly ?
  4. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 23 Feb 2010 Link to this post

    Hi Hoang Khai,

    The build succeed because Windows7Theme class is defined in Telerik.Windows.Controls assembly.
    We may change this for Silverlight 4 release.

    Regards,
    Hristo
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top