How to detect whether code is running in a XBAP application or a WPF application?
- by user189102
Im creating a custom control. I have common code for WPF and XBAP application. I have some different calculation/work to do if it’s a XBAP application. How to detect whether it’s an xbap application or a WPF application?