防止滚动时手机发送MouseLeftButtonUp事件
|
当用户滚动时,如何防止Windows Phone 7将MouseLeftButtonUp事件发送到我的网格(用作按钮)?
仅当用户滚动时,此问题有时会导致导航到另一个页面。
还是应该为此使用Button-Template?
示例代码:
<ScrollViewer>
<StackPanel>
<Grid x:Name=\"Button1\" MouseLeftButtonUp=\"Button1_LeftMouseButtonUp\">
<TextBlock Margin=\"12 15\" />
</Grid>
</StackPanel>
</ScrollViewer>
没有找到相关结果
已邀请:
1 个回复
嘘伪