![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
WPF
文章平均质量分 75
hyh834773759
这个作者很懒,什么都没留下…
展开
-
WPF MVVM DataGird 数据分页
一、原理及效果图 二、视图Model public class Student { public int Id { get; set; } public string Name { get; set; } public string Address { get; set; } public int Age {原创 2013-01-23 22:56:15 · 3088 阅读 · 0 评论 -
WPF TreeView自定义数据模板展开到指定层
TreeView 全部展开还是挺方便的只需设置TreeViewItem 样式即可全部展开,但展开到具体某一级就需要手工代码实现。如果TreeView 没有自定义数据模板 节点继承TreeViewItem 那么树的展开可以参考 MSDN博客 点击打开链接public static class ExtensionMethods{ public static void ExpandAll(t原创 2013-01-06 02:48:05 · 3568 阅读 · 0 评论 -
WPF TreeView使用的简单案例
<UserControl x:Class="cldd.WPFCompanyTree" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"原创 2012-12-23 22:31:53 · 1866 阅读 · 0 评论 -
WPF 通过使用Frame 加载kindeditor文本编辑器
最近在做WPF 客户端发送信息的功能 想要实现发送的信息包含超链接 图片等等,由于以前WEB做过文本编辑器 所以打算通过Frame 加载html页面来实现文本的编辑 然后调用C#代码取得文本编辑器里面的html。 XAML代码<Window x:Class="WpfApplication3.MainWindow" xmlns="http://schemas.micr原创 2013-12-06 14:56:38 · 2399 阅读 · 1 评论 -
C#5.0 使用async轻松解决跨线程访问UI
在c/s程序中 如果界面元素(对应的事件原创 2014-05-14 23:01:42 · 1889 阅读 · 0 评论