在 win 手机中,当一个接一个地有两个网格并且每个都有自己的列表框时,滚动不起作用。有任何想法吗 ?
<Grid x:Name="LayoutRoot"
Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel1" Grid.Row="1" Margin="12,0,12,0">
<ListBox x:Name="lstData1"
ItemsSource="{Binding Source={StaticResource productCollection}, Path=DataCollection}">
<ListBox.ItemTemplate>
<DataTemplate>
.................
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
<Grid x:Name="ContentPanel2" Grid.Row="2" Margin="12,0,12,0">
<ListBox x:Name="lstData2"
ItemsSource="{Binding Source={StaticResource productCollection}, Path=DataCollection}">
<ListBox.ItemTemplate>
<DataTemplate>
..................
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
</Grid>
谢谢您最好的问候