会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ken-Cai
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
26
···
37
下一页
2012年3月8日
dsoFramer 的原代码
摘要: http://www.cnblogs.com/lyrix/archive/2004/06/16/16145.html
阅读全文
posted @ 2012-03-08 15:57 Ken-Cai
阅读(224)
评论(0)
推荐(0)
2012年2月10日
Mvvm Light TreeView 数据绑定
摘要: public class TreeNode { public string NodeID { get; set; } public string NodeName { get; set; } public List<TreeNode> Children { get; set; } }<UserControl x:Class="TreeViewDemo.MainPage3" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="htt
阅读全文
posted @ 2012-02-10 15:10 Ken-Cai
阅读(454)
评论(0)
推荐(0)
MVVM Light 列表类型控件的处理: Combobox、ListBox、Datagrid等所有能绑定到集合的控件
摘要: <ListBox ItemsSource="{Binding Provinces}" DisplayMemberPath="ProvinceName"/> ListBox其实有一个默认的ItemTemplate,它以一个Content控件来显示DisplayMemberPath定义的字段的内容,我们可以自定义ItemTemplate让ListBox显示更多的内容,注意ItemTemplate与DisplayMemberPath不能同时定义 <ListBox ItemsSource="{Binding Provinces}&qu
阅读全文
posted @ 2012-02-10 15:00 Ken-Cai
阅读(1432)
评论(0)
推荐(1)
Mvvm Light Command绑定
摘要: <ButtonContent="按钮"Command="{BindingButtonCommand}"/> // 按钮点击命令 public ICommand ButtonCommand { get { return new RelayCommand( () => System.Windows.MessageBox.Show("当前时间:" + System.DateTime.Now.ToString()) ); } }
阅读全文
posted @ 2012-02-10 14:46 Ken-Cai
阅读(361)
评论(0)
推荐(0)
Mvvm Light ViewModelLocator (ViewModel加载器)
摘要: 一个 Silverlight 一般只有一个 ViewModelLocator 。如果是通过MVVM 模板建立的项目,默认就有该文件了。用到的Code Snape : mvvmlocatorproperty。App.Xaml,先添加ViewModel命名控件引用,然后为ViewModelLocator添加一个全局的资源 <Application.Resources> <vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" /> </Application.Resou
阅读全文
posted @ 2012-02-10 14:44 Ken-Cai
阅读(1033)
评论(0)
推荐(0)
Mvvm Light 代码段的设置
摘要: 在Visual Studio中,选择工具 / 代码段管理器/ My Code Snippetss 找出My Code Snippetss 的路径。将 Mvvm Light 代码段 的文件复制到 My Code Snippetss 中。Mvvm Light 代码段 默认在C:\Program Files\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Snippets\CSharp
阅读全文
posted @ 2012-02-10 11:30 Ken-Cai
阅读(404)
评论(0)
推荐(0)
Mvvm Light 一些学习资源
摘要: duanzilin的博客 http://blog.csdn.net/duanzilin/article/details/6387639
阅读全文
posted @ 2012-02-10 11:27 Ken-Cai
阅读(265)
评论(0)
推荐(0)
2011年11月23日
解决powerDesinger12逆向工程报错:Unable to list the tables
摘要: http://www.cnblogs.com/zwq194/archive/2011/03/07/1974006.html
阅读全文
posted @ 2011-11-23 11:42 Ken-Cai
阅读(168)
评论(0)
推荐(0)
2011年10月29日
Silverlight 4 安装出现语言版本错误
摘要: 在这里下载http://www.livetome.cn/thread-22498-1-1.html
阅读全文
posted @ 2011-10-29 10:12 Ken-Cai
阅读(140)
评论(0)
推荐(0)
2011年9月23日
Silverlight 网上学习资料
摘要: http://hi.baidu.com/greatverve/blog/item/f7e35f0f23c820ea37d12274.html MSDN
阅读全文
posted @ 2011-09-23 16:58 Ken-Cai
阅读(137)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
37
下一页
公告