[UWP]使用listview实现storagefile [英] [UWP]implement storagefile with listview

查看:72
本文介绍了[UWP]使用listview实现storagefile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好:


我可以
工具
storagefile
with
UWP列表视图
how I can implement storagefile with listview for UWP

推荐答案

<ListView x:Name="listview1" ItemsSource="{x:Bind Overcar, Mode=TwoWay}"  ScrollViewer.VerticalScrollBarVisibility="Auto" >
                <ListView.ItemTemplate>
                    <DataTemplate>
                        <StackPanel>
                            <TextBlock x:Name="textcarga" x:Uid="cargadecombustible"  Foreground="{StaticResource BlackBrush}" FontSize="{StaticResource FontSizeMedium}"  />
                            
                            <TextBlock x:Name="textrodometro"  Foreground="{StaticResource GrayBrush}" FontSize="{StaticResource FontSizeSmall}"/>
                            <TextBlock x:Name="textrtotal" Foreground="{StaticResource GrayBrush}" FontSize="{StaticResource FontSizeSmall }"/>
                            <TextBlock x:Name="textrlitros" Foreground="{StaticResource GrayBrush}" FontSize="{StaticResource FontSizeSmall}"/>
                            <TextBlock x:Name="textrprecio" Foreground="{StaticResource GrayBrush}" FontSize="{StaticResource FontSizeSmall}"/>
                        </StackPanel>
                    </DataTemplate>
           </ListView.ItemTemplate>
                  
                
            </ListView>





这篇关于[UWP]使用listview实现storagefile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆