Sunday, November 27, 2011

Microsoft_windows_themes is undeclared prefix

First you need to add a Reference > PresentationFramework.Aero  from .NET Refrences Tab

Then Add this line of code into your resource dictionary on the top

 xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"

No comments:

Post a Comment