0
在贏得手機時,有兩個網格一個接一個,每個都有自己的listBox滾動不起作用。 任何想法?贏得手機滾動列表框不工作
<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>
謝謝 問候