水平和垂直滚动 [英] Both Horizontal and Vertical Scroll

查看:86
本文介绍了水平和垂直滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现一个图表,其中我的货币底部位于底部,一条线(x轴)随时间变化.在中心,我必须绘制一些应放置在容器中的条形图,并且应该能够滚动水平和垂直. 我可以实现这种行为吗?

I want to implement a chart wherein I have currency bar at bottom and a line (x-axis) with time .At the center I have to draw some bars which should be placed within a container and I should be able to scroll it horizontally as well as vertically.How can I achieve this behaviour.

请帮助.

推荐答案

ScrollViewer是工具.您可能需要调整其某些属性以获得所需的效果.您可以尝试以下入门工具:

ScrollViewer is the tool.  You may need to adjust some of its properties to get the desired effect. You can try the following for starters:

<ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.HorizontalScrollBarVisibility="Auto">

更多信息 这里.

More info here.

希望这会有所帮助,
标记

Hope this helps,
Mark


这篇关于水平和垂直滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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