Hey,
is there a way to have a WPF UserControl Class to be a class with a Template type? e.g.
public partial class MyControl : UserControl
should be:
public partial class MyControl<MyData> : UserControl
as I always get compile errors that MyControl
than has no reference to InitializeComponents
which is in the automatic generated part of the class.
The problem is, that I can't tell in the xaml part of the class that the usercontrol is of type MyControl<MyData>
. I even tried MyControl<MyData>
... :(
Ciao Ephraim