Can I host an XBAP in my WPF application dynamically?
Can I download an XBAP, set it to be hosted in my WPF application, and interact with it programatically?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would assume ‘yes’, since you can always place a
WebBrowsercontrol in your application and then callNavigatewith the url to the XBAP application that you wish to launch.As a matter of fact, this is recomended in the documentation from Microsoft for the
IWpfHostSupportinterfaceSpecifically, in the ‘remarks’ section (emphasis mine):
Win32 applications such as Web browsers can host WPF content, including XAML browser applications (XBAPs) and loose XAML. To host WPF content, Win32 applications create an instance of the WebBrowser control.