为主页面窗口创建滚动 [英] creating a scroll for the main page window

查看:76
本文介绍了为主页面窗口创建滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我是新的Blend用户,目前我想创建一个silverlight网站,但我发现很难创建一个scrool页面,我不希望我的页面只是脸。我想在我的网站的下方添加更多的内容,但我发现,因为i
增加布局下划线或侧面仍然没有scrool它只是继续扩展没有scroll.i希望我的网站是不只是窗户我不知道如何。请帮忙。谢谢

解决方案

您必须使用可以放置在主页顶部的ScrollViewer控件


< ; ScrollViewer>

  < Grid x:Name = LayoutRoot />
$
< / ScrollViewer>


在那里你可以设置属性Horizo​​ntalScrollBar等。


hello, am new Blend user,and currently i want to creat a silverlight website but i found it difficult to creat a scrool page, i dont want mine page to be just the face. i want to add more contents at the down side of my site, but i found out that as i increase the layout downword or sideways still there is no scrool it just keep expanding without a scroll.i want my site to be big not just the windows face i dont know how. please help. thanks

解决方案

You have to use the ScrollViewer Control which you can place at the top of your Mainpage

<ScrollViewer>
  <Grid x:Name=LayoutRoot/>
</ScrollViewer>

There you can set the properteis HorizontalScrollBar etc.


这篇关于为主页面窗口创建滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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