I am creating a custom control. I have general code for WPF and XBAP applications. I have some different calculations / functions If this is an XBAP application, how can it detect whether it is an XBAP application or a WPF application?
You can use System.Windows.Interop. Identify the BrowserInteropHelper.IsBrowserHosted property whether it is hosted on the Web or Windows
Comments
Post a Comment