✅ How do I specify custom base class for user control?
I declared a custom base class derived from
UserControl
. Now in a second assembly, I need to derive from that. The base class doesn't provide a XAML page. Instead, the derived class would. So MyCtrl
is derived from MyCtrlBase
which in turn derives from UserControl
. How do I specify that in the XAML? I tried the following, but it didn't work. Seems the designer doesn't see my custom base class.
Can someone tell me what I need to change?1 Reply
Never mind. Turns out it wasn't seeing the namespaces when I used autocomplete. I manually corrected it and it now sees the correct base class.