WPF Creating an instance of a class in xaml

Posted by Cloverness on Stack Overflow See other posts from Stack Overflow or by Cloverness
Published on 2010-06-15T18:51:49Z Indexed on 2010/06/15 19:02 UTC
Read the original article Hit count: 184

Filed under:
|

Hi, I have a problem with creating the instance of a class in xaml file. I thought you can do it like this:

in the resource part of the user control and then use it in the xaml file (for example bind to it).

But even tough the class I created is located in the same namespace it says that:

"The type was not found. Verfiy that all assemblies were built, etc".

How to get it right? is there another method?

Thanks for suggestions.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about xaml