WPF学习记录1:ListView的一个模板
在网上找的一个模板,放在这里,作为笔记,收集
<ListView Grid.Column="" Grid.Row="" Name="ListmuLu" >
<ListView.ItemTemplate>
<DataTemplate>
<StackPanel>
<WrapPanel>
<Label Content="驾驶员姓名:"/>
<TextBox Text="{Binding Path=Pilot}" Height="" Width=""/>
</WrapPanel>
<WrapPanel>
<Label Content="识别车牌:"/>
<TextBlock Text="{Binding Path=CarNO1}"/>
</WrapPanel>
<WrapPanel>
<Label Content="正确车牌:"/>
<TextBlock Text="{Binding Path=CarNO2}"/>
</WrapPanel>
<WrapPanel>
<Label Content="违章日期:"/>
<TextBlock Text="{Binding Path=Date}"/>
</WrapPanel>
<WrapPanel>
<Label Content="违章路段:"/>
<TextBlock Text="{Binding Path=Sections}"/>
</WrapPanel>
<WrapPanel>
<Label Content="违章类型:"/>
<TextBlock Text="{Binding Path=Type}"/>
</WrapPanel>
<WrapPanel>
<Label Content="违章等级:"/>
<TextBlock Text="{Binding Path=Level}"/>
</WrapPanel>
<WrapPanel>
<Label Content="违章车型:"/>
<TextBlock Text="{Binding Path=Models}"/>
</WrapPanel>
<WrapPanel>
<Label Content="车辆所属单位:"/>
<TextBlock Text="{Binding Path=Units}"/>
</WrapPanel>
<WrapPanel>
<Label Content="所扣分数:"/>
<TextBlock Text="{Binding Path=Score}"/>
</WrapPanel>
<WrapPanel>
<Label Content="有效状态:"/>
<TextBox Text="{Binding Path=Status}" Height="" Width=""/>
<ComboBox Height="" Width="" SelectedValue="{Binding Path=Status, Mode=OneWay}">
<ComboBoxItem Content="有效"/>
<ComboBoxItem Content="无效"/>
</ComboBox>
</WrapPanel>
</StackPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
WPF学习记录1:ListView的一个模板的更多相关文章
- Thymeleaf学习记录(1)--启动模板及建立Demo
Thymeleaf是什么? Thymeleaf是适用于Web和独立环境的现代服务器端Java模板引擎.相比于JSP,Thymeleaf更简洁,渲染性能更好,维护性更好,它可以XML/XHTML/HTM ...
- 【WPF学习】第六十章 创建控件模板
经过数十天的忙碌,今天终于有时间写博客. 前面一章通过介绍有关模板工作方式相关的内容,同时介绍了FrameWorkElement下所有控件的模板.接下来将介绍如何构建一个简单的自定义按钮,并在该过程中 ...
- [Python 学习]2.5版yield之学习心得 - limodou的学习记录 - limodou是一个程序员,他关心的焦点是Python, DocBook, Open Source …
[Python 学习]2.5版yield之学习心得 - limodou的学习记录 - limodou是一个程序员,他关心的焦点是Python, DocBook, Open Source - [Pyth ...
- Spring Boot学习记录(二)--thymeleaf模板 - CSDN博客
==他的博客应该不错,没有细看 Spring Boot学习记录(二)--thymeleaf模板 - CSDN博客 http://blog.csdn.net/u012706811/article/det ...
- Delphi中,indy控件实现收发邮件的几点学习记录( 可以考虑加入多线程,用多个邮箱做一个邮箱群发器) 转
关于用Delphi中的Indy控件实现收发邮件的几点学习记录 这几天心里颇不宁静,不是因为项目延期,而是因为自己几个月前做的邮件发送程序至今无任何进展,虽然一向谦虚的人在网上发 ...
- git原理学习记录:从基本指令到背后原理,实现一个简单的git
一开始我还担心 git 的原理会不会很难懂,但在阅读了官方文档后我发现其实并不难懂,似乎可以动手实现一个简单的 git,于是就有了下面这篇学习记录. 本文的叙述思路参照了官方文档Book的原理介绍部分 ...
- WPF学习之路初识
WPF学习之路初识 WPF 介绍 .NET Framework 4 .NET Framework 3.5 .NET Framework 3.0 Windows Presentation Found ...
- 【WPF学习】第二十章 内容控件
内容控件(content control)是更特殊的控件类型,它们可包含并显示一块内容.从技术角度看,内容控件时可以包含单个嵌套元素的控件.与布局容器不同的是,内容控件只能包含一个子元素,而布局容器主 ...
- WPF学习概述
引言 在桌面开发领域,虽然在某些领域,基于electron的跨平台方案能够为我们带来某些便利,但是由于WPF技术能够更好的运用Direct3D带来的性能提升.以及海量Windows操作系统和硬件资源的 ...
随机推荐
- Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I have installed a Web application on IIS 7.0 windows server 2008 R2 64 bit OS I am refering a oracl ...
- Apache 2.4.7在CentOS6.4中安装配置反向代理解决单外网IP对应多个内网主机的方法实践
欢迎转载,转载时请保留全文及出处. Apache 2.4.7在CentOS6.4中安装配置反向代理解决单外网IP对应多个内网主机的方法实践 Apache安装 下载源程序(http://httpd.ap ...
- UIAlertView与UIActionSheet
1.UIAlertView(警告框) 1.1 创建警告框,设置样式 - (IBAction)alertView:(UIButton *)sender {//创建button按钮 //创建警告框的实例 ...
- Xcode no visible @interface for xxx declares the selector errors
- C#总结(3)
这次我们来谈谈函数. C#的函数分为静态函数,和普通函数. 先上代码. using System; using System.Collections.Generic; using System.Lin ...
- QT5.5实现串口通信
QT5.1以上版本自带QtSerialPort集成库,只要在头文件中集成 #include <QtSerialPort/QSerialPort> #include <QtSerial ...
- (原+转)error C2872: “ACCESS_MASK”: 不明确的符号 C:\Program Files (x86)\Windows Kits\8.1\Include\um\ktmw32.h 125
转载请注明出处: http://www.cnblogs.com/darkknightzh/p/5500795.html 参考网址: http://www.lxway.com/88515256.htm ...
- (转)最小二乘法拟合圆公式推导及vc实现[r]
(下文内容为转载,不过已经不清楚原创的是哪里了,特此说明) 转自: http://www.cnblogs.com/dotLive/archive/2006/10/09/524633.html 该网址下 ...
- TRIGGERS_监测系统_原始数据表触发器—调用告警信息存储过程
//每次向originaldata表中插入数据就会触发该触发器 create or replace trigger originaldata_to_alarm after insert on ori ...
- 谈谈自己对于Auth2.0的见解
Auth的原理网上有很多,我这里就不在赘述了. 这里有张时序图我个人觉得是比较合理而且直观的,(感谢这篇博文:http://justcoding.iteye.com/blog/1950270) 参照这 ...