Generic usercontrol possible?

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-05-27T08:16:15Z Indexed on 2010/05/27 8:21 UTC
Read the original article Hit count: 111

Filed under:
|

Since .Net 4 does support generics in XAML, I'd like to create a UserControl using generics, like:

public class MyComboBox<T>
{
}

I can declare the UserControl quite well, but how would I use it in a XAML file?

Or can't this be done in XAML?

© Stack Overflow or respective owner

Related posts about generics

Related posts about xaml