0

我有一些自定义 WPF UserControl

它有这样的实现

public partial class CustomControl : UserControl, IMyPluginInterface

如何在其他应用程序中获取该 UserControl 的类型?

或者如何枚举汇编中的类型?

谢谢!

4

1 回答 1

2

试试这个:

Type myType = myCustomUserControl.GetType();
于 2012-09-17T14:27:21.470 回答