0

I have got some custom WPF UserControl.

And it has implementation like this one

public partial class CustomControl : UserControl, IMyPluginInterface

How do I can get a type of that UserControl in other application?

Or how to enumerate types in assembly?

Thank you!

NoWar
  • 36,338
  • 80
  • 323
  • 498

1 Answers1

2

Try this:

Type myType = myCustomUserControl.GetType();
Dante
  • 3,208
  • 9
  • 38
  • 56