开发者

WPF: Microsoft_Windows_Themes not found

开发者 https://www.devze.com 2022-12-21 05:57 出处:网络
I am getting this error in my WPF app: The type \'Microsoft_Windows_Themes:ScrollChrome\' was not found. Verify that you are not missing an assembly reference and th开发者_运维知识库at all referenced

I am getting this error in my WPF app:

The type 'Microsoft_Windows_Themes:ScrollChrome' was not found. Verify that you are not missing an assembly reference and th开发者_运维知识库at all referenced assemblies have been built.

Any idea?


Make sure you add this reference in the top most tag of your control/page/resource dictionary/whatever:

...

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

And add a reference to PresentationFramework.Aero in your project.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号