How can I tell if code is running in an XBAP application or a WPF application?
I'm creating a custom control. I have generic code for WPF and XBAP applications. I have another calculation / work to do if this is an XBAP application. How can I tell if there is an xbap app or a WPF app?