如何在ClassLibrary项目中实现System.Windows.Markup.MarkupExtension(How to implement System.Windows.Markup.MarkupExtension in a ClassLibrary-project)
我想在C#-project中编写一个新的Converter-class,它继承自抽象类MarkupExtension,通常可以在库System.Windows.Markup中找到MarkupExtension。 在我的类库中,可以使用库或命名空间,但是找不到类MarkupExtension。 我需要哪些参考?
提前致谢!
I want to write a new Converter-class in a C#-project which inherits from the abstract class MarkupExtension Normally MarkupExtension can be found in the library System.Windows.Markup. In my classlibrary the library or namespace is avaible but the class MarkupExtension can't be found. Which references do i need?
Thanks in advance!
最满意答案
找到了! 需要引用System.Xaml。 :)
Found it! A reference to System.Xaml is needed. :)
更多推荐
发布评论