如何在Silverlight中显示文档? [英] How to display a document in silverlight?

查看:89
本文介绍了如何在Silverlight中显示文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可悲的是,我发现SL 3不支持FlowDocument.
我需要将xaml文件从服务器加载到客户端浏览器中.使用webservice没问题.问题是如何在页面中显示文件并允许打印.

注意:xaml文件实际上是一个简单的表,具有2列和几行,具有简单的文本属性.

Sadly, I found out that SL 3 doesn''t support the FlowDocument.
I need to load a xaml file from the server into the client browser. No problem doing that using the webservice. The problem is how to display the file in a page and allow for printing.

NOTE: The xaml file is actually a simple table having 2 columns and several rows with simple text attributes

推荐答案

您可以使用
XamlReader.Load()

.

希望它会有所帮助.

.

Hope it helps.


这篇关于如何在Silverlight中显示文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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