会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zq爱生活爱代码
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
下一页
2021年8月28日
TreeView 显示多层级,不同类型数据 层级式数据模板 HierarchicalDataTemplate XmlDataProvider 前台
摘要: <Window x:Class="WpfDemo.HierarchicalDataTemplateDemo1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr
阅读全文
posted @ 2021-08-28 00:26 zq爱生活爱代码
阅读(159)
评论(0)
推荐(0)
2021年8月27日
DataTemplate 和 ControlTemplate 详细应用
摘要: 将 Template 应用给应用目标有两种方法,一种是给每个控件设定Template/ContentTemplate/ItemsTemplate/CellTemplate,不想设定的就不设置。另外一种就是 整体应用,把Template设置到 某种指定的控件或者数据上 把ControlTemplate
阅读全文
posted @ 2021-08-27 22:51 zq爱生活爱代码
阅读(55)
评论(0)
推荐(0)
2021年8月23日
WPF ContentTemplate Demo
摘要: <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schem
阅读全文
posted @ 2021-08-23 23:45 zq爱生活爱代码
阅读(105)
评论(0)
推荐(0)
2021年8月22日
WPF 访问 Resources.resx 资源文件
摘要: 1. 添加 Properties 命名空间 2.Resources.resx 权限改为public <Window x:Class="WpfDemo.ResourceDemo" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentat
阅读全文
posted @ 2021-08-22 23:54 zq爱生活爱代码
阅读(854)
评论(0)
推荐(0)
WPF 静态资源 动态资源
摘要: StaticResource DynamicResource 资源只是初始化的时候访问一次,使用 StaticResource 如果程式运行过程中还有可能改变的资源 使用 DynamicResource 修改时 只有修改 this.Resource["XXX"]="XXXXXX";
阅读全文
posted @ 2021-08-22 23:34 zq爱生活爱代码
阅读(70)
评论(0)
推荐(0)
WPF 資源設定 引用資源字典
摘要: <Window x:Class="WpfDemo.ResourceDemo" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
posted @ 2021-08-22 23:30 zq爱生活爱代码
阅读(46)
评论(0)
推荐(0)
2021年8月18日
Oracle table 中 设定 GUID UUID 列
摘要: GUID N VARCHAR2(40) N SYS_GUID()
阅读全文
posted @ 2021-08-18 16:52 zq爱生活爱代码
阅读(51)
评论(0)
推荐(0)
oracle split 方法
摘要: --create or replace type pos_row as object ( pos_value VARCHAR2(40), digit VARCHAR2(10) ) --CREATE OR REPLACE TYPE v_respos IS TABLE OF pos_row --CREA
阅读全文
posted @ 2021-08-18 16:30 zq爱生活爱代码
阅读(305)
评论(0)
推荐(0)
2021年8月15日
WPF 命令参数 以及 XAML设定命令
摘要: <Window x:Class="WpfDemo.CommandParameter" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/win
阅读全文
posted @ 2021-08-15 15:48 zq爱生活爱代码
阅读(118)
评论(0)
推荐(0)
WPF 命令
摘要: 从表面看,逻辑流程是这样。但是实际上,流程很简单。 创建命令 将命令和命令源赋给指定控件 创建命令关联,将命令赋给命令关联,同时将判断 命令是否可执行 的事件,以及命令可执行时触发的事件 也赋给命令关联。(实际 这两个路由事件是命令目标发送的) <Window x:Class="WpfDemo.Ro
阅读全文
posted @ 2021-08-15 11:16 zq爱生活爱代码
阅读(60)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
下一页
公告