Loading

Windows phone 全景视图

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>

 
复制代码

 

posted @   眾尋  阅读(228)  评论(0)    收藏  举报
编辑推荐:
· 记一次 .NET某旅行社酒店管理系统 卡死分析
· 长文讲解 MCP 和案例实战
· Hangfire Redis 实现秒级定时任务,使用 CQRS 实现动态执行代码
· Android编译时动态插入代码原理与实践
· 解锁.NET 9性能优化黑科技:从内存管理到Web性能的最全指南
阅读排行:
· 工良出品 | 长文讲解 MCP 和案例实战
· 一天 Star 破万的开源项目「GitHub 热点速览」
· 多年后再做Web开发,AI帮大忙
· 记一次 .NET某旅行社酒店管理系统 卡死分析
· 别再堆文档了,大模型时代知识库应该这样建
点击右上角即可分享
微信分享提示
主题色彩