摘要: 截图: 阅读全文
posted @ 2014-01-16 23:34 KeenLeung 阅读(263) 评论(0) 推荐(0) 编辑
摘要: GridSplitter可以在Grid布局中根据鼠标发生移动(可拖拽的分隔栏)XAML: 截图: 阅读全文
posted @ 2014-01-16 23:24 KeenLeung 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: 1.向ListBox中放入其他控件XAML: View Code C#:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windo... 阅读全文
posted @ 2014-01-16 20:43 KeenLeung 阅读(652) 评论(0) 推荐(0) 编辑
摘要: 1.x:TypeType类可作为所有数据类型在编程层面上的抽象。在XAML中,如果想表达某个数据类型时就需要使用x:Type标记拓展。例子:创建一个Button的派生类:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;namespace WpfApplication3{ class MyButton:Button { public Type UserWi... 阅读全文
posted @ 2014-01-16 13:49 KeenLeung 阅读(319) 评论(0) 推荐(0) 编辑