XPS或XAML查看器要嵌入.NET应用程序? [英] XPS or XAML viewer to embed in .NET app?

查看:100
本文介绍了XPS或XAML查看器要嵌入.NET应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用查看器对象或ActiveX控件将XPS文档或XAML GUI嵌入到.NET应用程序中?

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

推荐答案

您可以使用

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.

这篇关于XPS或XAML查看器要嵌入.NET应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆