当前注册人数422990人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB Android   站内搜索 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

Working with Checkboxes in the WPF TreeView

WPF中有Checkbox的TreeView控件

2008年08月11日
C# (C# 3.0, C#), .NET (.NET, .NET 3.5), XAML, WPF, Architect, Dev
这个文章及程序实现一个WPF下的控件,可以完成带有Checkbox选择框的TreeView树控件。
相关知识

This article reviews a WPF TreeView whose items contain checkboxes. Each item is bound to a ViewModel object. When a ViewModel object’s check state changes, it applies simple rules to the check state of its parent and child items. This article also shows how to use the attached behavior concept to turn a TreeViewItem into a virtual ToggleButton, which helps make the TreeView’s keyboard interaction simple and intuitive.

源代码原文下载:
Working with Checkboxes in the WPF TreeView Examines how to create a tree of checkboxes that intelligently update their own check state and are easy to navigate with the keyboard

源码图片

点击链接查看大图
从本站下载附件及源代码(1个附件,已经成功下载1387次)

最值得关注的外文源代码

WPF C# Ribbon Control Library
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论128次,此处显示最近20次评论! 查看所有评论

3216456  2016年03月08日
不过,新注册要过两天才能下载,太浪费资源了!
chujy  2015年11月06日
不过,新注册要过两天才能下载,太浪费资源了!
wyk201011  2015年01月27日
谢谢分享
jasmine_liu  2014年07月30日
谢谢分享
bk0824  2013年08月26日
谢谢分享
suifeng0117  2013年02月02日
真的不错啊
rainxie  2012年12月02日
现在正需要啊,怎么不能下载过来啊
sheng8197  2012年11月01日
谢谢分享
ad  2012年10月25日
太厉害了
千里马  2012年09月08日
项目中正需要带复选框的树,谢了
天浪  2012年08月16日
想要学习WPF控件的用法,谢谢
pwzh  2012年08月11日
谢谢,正是所需要的
wslyy2  2012年08月08日
谢谢分享
wslyy2  2012年08月08日
谢谢分享
汪岳  2012年07月06日
谢谢分享了,正是我想要的。
cindy_yaya  2012年07月03日
谢谢楼主分享,很不错!!!!
wxr1213  2012年06月29日
封装了树结构,牛
jack  2012年05月26日
good
aliencool  2012年04月01日
有点难懂!
dongfeng1296  2012年03月14日
研究一下。一定有帮助的
字数在300字内
请如实评论
200万国内源码搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved zhihuishi   免责声明