This is a migrated thread and some comments may be shown as answers.

Merging the ResourceDictionaries

8 Answers 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Harald
Top achievements
Rank 1
Harald asked on 30 Nov 2014, 12:58 PM
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?

8 Answers, 1 is accepted

Sort by
0
Harald
Top achievements
Rank 1
answered on 30 Nov 2014, 04:41 PM
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).
0
Harald
Top achievements
Rank 1
answered on 30 Nov 2014, 04:45 PM
Sorry, the Screenshot 01 shows the Visual Studio Designer and Screenshot 02 the runtime result.
0
Yana
Telerik team
answered on 01 Dec 2014, 08:21 AM
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.

 
0
Harald
Top achievements
Rank 1
answered on 01 Dec 2014, 09:24 PM
Thanks for the feedback. Is there a release date for the service pack ?
0
Phil
Top achievements
Rank 1
answered on 01 Dec 2014, 09:48 PM
Could you also notify me when the service pack is up too? I also have this issue.
Cheers
0
Accepted
Yana
Telerik team
answered on 02 Dec 2014, 07:58 AM
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.

 
0
Harald
Top achievements
Rank 1
answered on 17 Dec 2014, 08:23 PM
hello,

after the update everything worked. Many thanks.
0
Kalin
Telerik team
answered on 18 Dec 2014, 07:21 AM
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.

 
Tags
General Discussions
Asked by
Harald
Top achievements
Rank 1
Answers by
Harald
Top achievements
Rank 1
Yana
Telerik team
Phil
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or