• 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>
    
     
  • 相关阅读:
    Leetcode 274.H指数
    Leetcode 273.整数转换英文表示
    Leetcode 264.丑数II
    Leetcode 260.只出现一次的数字III
    Leetcode 242.有效的字母异位词
    Leetcode 241.为运算表达式设计优先级
    Leetcode 240.搜索二维矩阵II
    Leetcode 239.滑动窗口最大值
    Leetcode 237.删除链表中的节点
    Leetcode 236.二叉树的最近公共祖先
  • 原文地址:https://www.cnblogs.com/ZXdeveloper/p/3582350.html
Copyright © 2020-2023  润新知