Silverlight幻灯片适合屏幕 [英] Silverlight Slideshow fit into Screen

查看:90
本文介绍了Silverlight幻灯片适合屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

 

我正在尝试为我们的网站创建一个silverlight幻灯片。在Blend 4中创建幻灯片本身并没有问题。但是我希望它适合每个浏览器分辨率。这是一个用flash构建的网站,效果很好。

Im trying to create a silverlight slideshow for our website. Creating the slideshow itself was no problem in Blend 4. But I want it to fit in in every browser resolution. Here is a site where it was built with flash, the result is great.

www.roomers.eu

如何使用Expression Blend 4和Web 4(html Page)制作幻灯片显示如下?

How can I make the slideshow with Expression Blend 4 and Web 4 (html Page) look like this?

很容易看到roomers页面中图片的实际大小约为800x600px,但如果您将brwoser调整为更大的分辨率,则幻灯片自动适合浏览器窗口。

Its easy to see that the actiually size of the picture in the roomers page is just about 800x600px but if you resize your brwoser to a bigger resolution the slideshow fit automaticly into the browser window.

 

请帮助,抱歉我的英语不好,实际上是德语=)

Please help, and sorry for my bad english am actually german =)

推荐答案

你能发布你正在使用的xaml吗? ?如果你没有明确的大小设置他们应该默认填充整个页面,我猜你的可视树中的东西有一个明确的大小设置。
Could you post the xaml you are using? If you don't have an explicit size set on things they should by default fill the whole page, I am guessing that something in your visual tree has an explicit size set.


这篇关于Silverlight幻灯片适合屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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