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>
作者:眾尋
出处:https://www.cnblogs.com/ZXdeveloper/p/3582350.html
版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本