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

Mark Error in App.xaml

1 Answer 611 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Julio Cesar
Top achievements
Rank 1
Julio Cesar asked on 10 Jun 2019, 02:16 PM

            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Themes/Office2016/System.Windows.xaml"/>
                <ResourceDictionary Source="/Themes/Office2016/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Themes/Office2016/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary Source="/Themes/Office2016/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Themes/Office2016/Telerik.ReportViewer.Wpf.xaml"/>
            </ResourceDictionary.MergedDictionaries>

 

Severity Code Description Project File Line Suppression State
Error  An error occurred while finding the resource dictionary "/Themes/Office2016/Telerik.ReportViewer.Wpf.xaml". WinCont App.xaml 58 
Error XDG0041 The property "Font" is not a DependencyProperty. To be used in markup, non-attached properties must be exposed on the target type with an accessible instance property "Font". For attached properties, the declaring type must provide static "GetFont"  and "SetFont" methods. WinCont System.Windows.xaml 1 
Error XDG0012 The member "FontSize" is not recognized or is not accessible. WinCont System.Windows.xaml 1 
Error XDG0012 The member "VerticalAlignment" is not recognized or is not accessible. WinCont System.Windows.xaml 1 


1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 11 Jun 2019, 09:41 AM
Hi Julio,

We are already discussing the topic in the support thread you opened on the same issue. I will summarize my suggestions for the benefit of our community also here.

The error message:  An error occurred while finding the resource dictionary "/Themes/Office2016/Telerik.ReportViewer.Wpf.xaml". WinCont App.xaml 58 probably occurs as the XAML designer locks the theme files. To prevent the undesired outcome, please, go to Tools -> Options -> XAML Desginer -> uncheck Enable XAML Designer. Restart the Visual Studio afterwards. Take a look at the attached screenshot for additional reference.

Regards,
Neli
Progress Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Julio Cesar
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or