Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/258.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
C# ItemsControl中的操作事件未传递到Windows Phone 8.1 RT应用程序中的父级(第页)_C#_Windows_Windows Phone 8.1_Itemscontrol - Fatal编程技术网

C# ItemsControl中的操作事件未传递到Windows Phone 8.1 RT应用程序中的父级(第页)

C# ItemsControl中的操作事件未传递到Windows Phone 8.1 RT应用程序中的父级(第页),c#,windows,windows-phone-8.1,itemscontrol,C#,Windows,Windows Phone 8.1,Itemscontrol,操纵事件如下 操纵开始 操作完成 当我们在Windows phone 8.1 RT应用程序中的ItemsControl顶部滑动时,该控件不工作。在这种情况下,操作事件要么没有路由到父级,要么根本没有激发 我试图在ItemsControl上设置manufactionMode=“All”,但这没有帮助。当用户在使用ItemsControl显示的列表顶部从左向右滑动时,我想加载上一页 更新: 向下面的ItemsPresenter添加操纵模式=“All”解决了问题(操纵事件传递到父级,即页面),但垂直滚

操纵事件如下

操纵开始 操作完成

当我们在Windows phone 8.1 RT应用程序中的ItemsControl顶部滑动时,该控件不工作。在这种情况下,操作事件要么没有路由到父级,要么根本没有激发

我试图在ItemsControl上设置manufactionMode=“All”,但这没有帮助。当用户在使用ItemsControl显示的列表顶部从左向右滑动时,我想加载上一页

更新:

向下面的ItemsPresenter添加操纵模式=“All”解决了问题(操纵事件传递到父级,即页面),但垂直滚动不再起作用

    <ItemsControl.Template>
                <ControlTemplate TargetType="ItemsControl">

                    <ScrollViewer>
                    <ItemsPresenter x:Name="itemsPresenter" ManipulationMode="All"/>
                   </ScrollViewer>

                </ControlTemplate>
            </ItemsControl.Template>

在Windows phone 8/Windows phone 8.1 silverlight应用程序中,未观察到此问题