如何获得长列表选择器的水平偏移量 [英] How can I get the horizontal offset of a Long List Selector

查看:70
本文介绍了如何获得长列表选择器的水平偏移量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我试图在长列表选择器中获取滚动距离。我没有问题在其中获取ViewportControl,但是,当我得到viewport.Top值时,它肯定是太大了。滚动一下后,它从650跳到2800。我在LLS中绑定了一组项目,我不确定这是否会导致问题?



谢谢,

Dom

Hi there,

I am trying to get the scroll distance in a long list selector. I have no issue getting the ViewportControl inside of it, however, when I get the viewport.Top value it is definitely too big. It jumps from 650 to 2800 after scrolling just a little bit. I am binding groups of items in the LLS, Im not sure if this might be causing the issue?

Thanks,
Dom

推荐答案

这篇关于如何获得长列表选择器的水平偏移量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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