XPS or XAML viewer to embed in .NET app?

我与影子孤独终老i 提交于 2019-12-12 18:20:17

问题


Is there a viewer object or ActiveX control I can use to embed an XPS document, or an XAML GUI in my .NET application?


回答1:


You can use the ElementHost Control to host WPF content on a .Net Windows Form.The ElementHost appears in the Toolbox under the WPF Interoperability section. You can then host a WPF control that has XPS Document Viewer on it and you've solved both problems.




回答2:


Maybe this helps. Integrating WPF with Windows Forms



来源:https://stackoverflow.com/questions/425605/xps-or-xaml-viewer-to-embed-in-net-app

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!