当前位置: 代码迷 >> Windows Mobile >> Rectangle的ManipulationStarted有关问题
  详细解决方案

Rectangle的ManipulationStarted有关问题

热度:62   发布时间:2016-04-25 07:42:01.0
Rectangle的ManipulationStarted问题
各位,我在写Rectangle的Manipulation事件的时候发现我只有点击Rectangle的左下角时,该事件才会触发。而点击该Rectangle的其他部分时则没有反应。请问这是怎么回事啊?谢谢~
PS: 这里给出相关代码
<ScrollViewer Grid.Row="1">
  <Grid>
  ...
  <Rectangle Grid.Row="2" x:Name="ScreenColorRectangle" Margin="{StaticResource PhoneHorizontalMargin}" Height="90" Width="200" Stroke="{StaticResource PhoneForegroundBrush}" StrokeThickness="3" ManipulationStarted="ScrenColorRectangle_ManipulationStarted"/>
  ...
  </Grid>
</ScrollViewer>

------解决方案--------------------
呵呵。。
  相关解决方案