【发布时间】:2016-07-22 14:26:24
【问题描述】:
当用户尝试在 windows phone 8 silverlight 中滚动 RadDataBoundListbox 时,我们正在尝试查找垂直偏移量。例如:列表框滚动的位置。
到目前为止,我们正在尝试注册 ScrollStateChanged 事件,但该事件仅返回诸如 TopStretch、Scrolling、NotScrolling 等滚动状态。
<telerikPrimitives:RadDataBoundListBox x:Name="MessagesList" IsAsyncBalanceEnabled="True" Style="{StaticResource RadDataBoundListBoxStyle1}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="ScrollStateChanged">
<Command:EventToCommand Command="{Binding ScrollChangedCommand}" PassEventArgsToCommand="True"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</telerikPrimitives:RadDataBoundListBox>
我们找不到任何事件/方法来解决这个问题。
有关解决此问题的任何想法都可能会有所帮助。
谢谢。
【问题讨论】:
标签: c# wpf windows-phone-8 telerik rad-controls