本文介绍了映射XAML命名空间未检测到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I have created a datagrid which displays a Table of records populating from a Database
& would like to animate the cells of the datagrid when certain condition is met.
For this I created a converter class named **BlinkConverter** that inherits IValueConverter.
to put this converter into action, I have mapped the project namespace onto the xaml editor as
xmlns:local="clr-namespace:BlinkApplication"
Note: BlinkApplication is the name of my Project
After adding this, I am trying to create an instance of my BlinkConvertor class for Binding with Windows.Resources collection as
<Window.Resources>
<local:BlinkConverter x:key="Blink"></local:BlinkConverter>
</Window.Resources>
here my Intellisense is not detecting the class BlinkCoverter after I type *"local: "* , even if I try to type, I have an error stating "The type local:BlinkConverter was not found. Verify that you are missing an assembly reference and that all referenced assemblies have been built."
Even though I have added the entire project under the xmlns in my xaml editor .
What is wrong here ? have I missed any reference ?
推荐答案
这篇关于映射XAML命名空间未检测到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!