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?
views:
50answers:
1
A:
You can use System.Windows.Interop.BrowserInteropHelper.IsBrowserHosted property identify whether it is hosted on web or windows
Nayan Paregi
2010-05-17 06:28:41
Great that's what I was looking for. Thanks
Somnath
2010-05-17 07:23:43