Merging the ResourceDictionaries

9 posts, 1 answers
  1. Harald
    Harald avatar
    48 posts
    Member since:
    Oct 2013

    Posted 30 Nov 2014 Link to this post

    Hi, I'm testing WPF UI. In the use of themes I get an error message. Error: "LocalizableResourceExtension" is not valid for "Setter.Value".

    I have the following code in my Appliaction.xaml:

    <Application x:Class="TelerikWpfAppDesignTest.Application"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 StartupUri="MainWindow.xaml"
                 >
        <Application.Resources>
            <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="Themes/Windows8/System.Windows.xaml" />
                    <ResourceDictionary Source="Themes/Windows8/Telerik.Windows.Controls.xaml" />
                    <ResourceDictionary Source="Themes/Windows8/Telerik.Windows.Controls.Input.xaml" />
                    <ResourceDictionary Source="Themes/Windows8/Telerik.Windows.Controls.Navigation.xaml" />
                    <ResourceDictionary Source="Themes/Windows8/Telerik.Windows.Controls.RibbonView.xaml" />
                </ResourceDictionary.MergedDictionaries>
            </ResourceDictionary>
        </Application.Resources>
    </Application>

    Die benötigten xaml-Files habe ich meinem Projekt hinzugefügt und auch die Verweise sind vorhanden. Was mache ich falsch?
  2. Harald
    Harald avatar
    48 posts
    Member since:
    Oct 2013

    Posted 30 Nov 2014 Link to this post

    When i set the ResourceDictionary information directly in the MainWindow.xaml, everything is displayed correctly in the VisualStudio Designer (see screenshot 02). When i run the application, only the controls displayed in the right design. The RadWindow control was unchanged (see screenshot 01).
  3. UI for WPF is Visual Studio 2017 Ready
  4. Harald
    Harald avatar
    48 posts
    Member since:
    Oct 2013

    Posted 30 Nov 2014 in reply to Harald Link to this post

    Sorry, the Screenshot 01 shows the Visual Studio Designer and Screenshot 02 the runtime result.
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 01 Dec 2014 Link to this post

    Hello Harald,

    We are aware of this issue in the Visual Studio designer when using Implicit Styles and it will be fixed in the upcoming service pack.

    We're sorry for any inconvenience caused.

    Regards,
    Yana
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Harald
    Harald avatar
    48 posts
    Member since:
    Oct 2013

    Posted 01 Dec 2014 in reply to Yana Link to this post

    Thanks for the feedback. Is there a release date for the service pack ?
  7. Phil
    Phil avatar
    1 posts
    Member since:
    Oct 2014

    Posted 01 Dec 2014 Link to this post

    Could you also notify me when the service pack is up too? I also have this issue.
    Cheers
  8. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 02 Dec 2014 Link to this post

    Hello,

    The service pack is expected till the end of this week.

    In the meantime, you could download the latest internal build and try with it - the issue should be fixed there as well.

    Regards,
    Yana
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  9. Harald
    Harald avatar
    48 posts
    Member since:
    Oct 2013

    Posted 17 Dec 2014 in reply to Yana Link to this post

    hello,

    after the update everything worked. Many thanks.
  10. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 18 Dec 2014 Link to this post

    Hello Harald,

    We are glad the issue has been resolved. If you have any other questions or concerns, please let us know.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for WPF is Visual Studio 2017 Ready