Windows phone 全景视图下为了实现可以上下滑动需要使用listbox。
需要的布局什么的,在listbox中填写
<ListBox Name="ListBox_new"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="150"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="auto"/> </Grid.ColumnDefinitions> <Image Name="Img_Disease" Grid.Row="0" Grid.ColumnSpan="3"/> <TextBlock Text="图片名称:" Grid.Row="1" Grid.Column="0"/> <TextBlock Text="玉米品种:" Grid.Row="2" Grid.Column="0"/> <TextBlock Text="拍摄日期:" Grid.Row="3" Grid.Column="0"/> <TextBlock Text="拍摄时间:" Grid.Row="4" Grid.Column="0"/> <TextBlock Text="光照度:" Grid.Row="5" Grid.Column="0"/> <TextBlock Text="采集温度:" Grid.Row="6" Grid.Column="0"/> <TextBlock Text="拍摄地点:" Grid.Row="7" Grid.Column="0"/> <TextBlock Text="土壤氮含量:" Grid.Row="8" Grid.Column="0"/> <TextBlock Text="土壤磷含量:" Grid.Row="9" Grid.Column="0"/> <TextBlock Text="土壤钾含量:" Grid.Row="10" Grid.Column="0"/> <TextBlock x:Name="ImgName" Grid.Column="1" Grid.Row="1"/> <TextBox x:Name="txtCorn" Grid.Column="1" Grid.Row="2"/> <TextBox x:Name="txtDate" Grid.Column="1" Grid.Row="3"/> <TextBox x:Name="txtTime" Grid.Column="1" Grid.Row="4"/> <TextBox x:Name="txtIllumination" Grid.Column="1" Grid.Row="5"/> <TextBox x:Name="txtTemperature" Grid.Column="1" Grid.Row="6"/> <TextBox x:Name="txtSite" Grid.Column="1" Grid.Row="7"/> <TextBox x:Name="txtContentN" Grid.Column="1" Grid.Row="8"/> <TextBox x:Name="txtContentP" Grid.Column="1" Grid.Row="9"/> <TextBox x:Name="txtContentK" Grid.Column="1" Grid.Row="10"/> <TextBlock Text="LUX" Grid.Row="5" Grid.Column="2"/> <TextBlock Text="℃" Grid.Row="6" Grid.Column="2"/> <TextBlock Text="PPM" Grid.Row="8" Grid.Column="2"/> <TextBlock Text="PPM" Grid.Row="8" Grid.Column="2"/> <TextBlock Text="PPM" Grid.Row="8" Grid.Column="2"/> </Grid> </ListBox>