Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Locking wp7,如何在ScrollViewer中阻止滚动_Locking_Windows Phone 7_Scrollviewer - Fatal编程技术网

Locking wp7,如何在ScrollViewer中阻止滚动

Locking wp7,如何在ScrollViewer中阻止滚动,locking,windows-phone-7,scrollviewer,Locking,Windows Phone 7,Scrollviewer,我不想在ScrollViewer中移动UIElements。我有这样的想法: <ScrollViewer x:Name="scroll"> <Canvas x:Name="sheet" Width="480" Height="10000"> <Rectangle Canvas.Left="51" Canvas.Top="116" Height="114" Width="337"/> </Canvas> </Sc

我不想在ScrollViewer中移动UIElements。我有这样的想法:

<ScrollViewer x:Name="scroll">
    <Canvas x:Name="sheet" Width="480" Height="10000">
        <Rectangle Canvas.Left="51" Canvas.Top="116" Height="114" Width="337"/>
    </Canvas>
</ScrollViewer>

我已经浪费了3天的时间来寻找解决方案,但我什么也找不到

这只是在处理pano/pivot上的手势冲突


哇,非常感谢。这个解决方案很好,因为它确实有效:)很好:)。。如果还需要其他什么来回答这个问题,请告诉我们。
ScrollBarVisibility.Disabled;