摘要: 1. 绑定CLR对象属性 2.绑定控件属性 3.获取字符串指定字符的值 4.显示集合子元素的属性 5.绑定基本数据类型的值 6.没有指定Path,Binding会把控件的DataContext当做自己的Source 7.通过 ElementName指定source,也可以把控件本身赋给Source 阅读全文
posted @ 2021-07-24 05:18 zq爱生活爱代码 阅读(59) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfDemo.LAY_OUT_GRID" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2021-07-24 04:27 zq爱生活爱代码 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-07-24 04:24 zq爱生活爱代码 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-07-24 03:59 zq爱生活爱代码 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-07-24 03:24 zq爱生活爱代码 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 转载 https://www.cnblogs.com/dotnetHui/p/8342398.html 微软在VisualTreeHelper类中,提供了一些实用工具方法,用于执行涉及可视化树中的节点的常规任务,VisualTreeHelper 类中的一些方法可以接受表示任意一种可视对象类型的 De 阅读全文
posted @ 2021-07-24 02:40 zq爱生活爱代码 阅读(163) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfDemo.XPASEDemo" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006 阅读全文
posted @ 2021-07-24 02:18 zq爱生活爱代码 阅读(188) 评论(0) 推荐(0) 编辑