Xaml 放大windows phone 8.1 U1时无法水平滚动图像

Xaml 放大windows phone 8.1 U1时无法水平滚动图像,xaml,windows-phone-8,windows-phone-8.1,Xaml,Windows Phone 8,Windows Phone 8.1,我已经无法实现水平滚动缩放图像。。。使用此Xaml可成功进行垂直缩放。。。请帮助解决windows phone 8.1 u1缩放图像的水平滚动 问候 enter code here <Page x:Class="Bus_Time.BasicPage1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

我已经无法实现水平滚动缩放图像。。。使用此Xaml可成功进行垂直缩放。。。请帮助解决windows phone 8.1 u1缩放图像的水平滚动

问候

enter code here <Page
x:Class="Bus_Time.BasicPage1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Bus_Time"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

<Grid x:Name="LayoutRoot">
    <Grid.ChildrenTransitions>
        <TransitionCollection>
            <EntranceThemeTransition/>
        </TransitionCollection>
    </Grid.ChildrenTransitions>
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <!-- Title Panel -->
    <StackPanel Grid.Row="0" Margin="19,0,0,0">
        <TextBlock Text="MY APPLICATION" Style="{ThemeResource TitleTextBlockStyle}" Margin="0,12,0,0"/>
        <TextBlock Text="page title" Margin="0,-6.5,0,26.5" Style="{ThemeResource HeaderTextBlockStyle}" CharacterSpacing="{ThemeResource PivotHeaderItemCharacterSpacing}"/>
    </StackPanel>
    <Grid Margin="0,8.833,0,10" Grid.Row="1">
        <ScrollViewer   ZoomMode="Enabled"  MinZoomFactor="0.8" Height="Auto" Width="Auto">
            <StackPanel Height="Auto" Width="Auto" Orientation="Vertical"  ScrollViewer.HorizontalScrollMode="Enabled"  ScrollViewer.VerticalScrollMode="Enabled" HorizontalAlignment="Stretch">
                <Image Source="Assets/Image1/0001.jpg"  HorizontalAlignment="Stretch" Height="350" Width="380"/>
                <Image Source="Assets/Image1/0002.jpg" HorizontalAlignment="Stretch" Height="350" Width="300"/>
                <Image Source="Assets/Image1/0003.jpg" HorizontalAlignment="Stretch" Height="350" Width="380"/>
                <Image Source="Assets/Image1/0004.jpg" HorizontalAlignment="Stretch" Height="350" Width="380"/>
            </StackPanel>
        </ScrollViewer>
    </Grid>
</Grid>
在此处输入代码

您确定内容不适合您的ScrollViewer吗?图像的宽度是380,这比Windows和Windows Phone的页面大小要小


无论如何,您可以尝试将
水平滚动条可见性
设置为
自动
可见

图像可以水平缩放和滚动…但一旦放大并执行水平滚动,图像不会停留在同一位置。它会自动以相反的方式向后滚动…例如,如果我放大并执行左滚动,图像不会停留在那里…它会自动右滚动。。。