How to reference a custom “base type” (like Page/Window) for WPF?

I simply want to extend the functionality of "Page" so I can have some custom virtual methods that will be called on custom pages derived from my custom "page" class.

I.E. – instead of deriving my page from "Page" I want to derive it from "CustomPage" which derives from Page.

However, I'm not sure about how to tell Visual Studio to look in a specific namespace (in a separate assembly) for "CustomPage" so I can use it in the XAML designer.

Anybody know what I need to know to do this?

by HonorableJudgeHolden via /r/csharp

Leave a Reply