Levon Chen 的脚步

生活在于拥抱改变。

2010年12月22日

C# 调试的时候怎么知道两个Reference引用的是同一个对象

摘要: http://blogs.msdn.com/b/jimgries/archive/2005/11/16/493431.aspx 阅读全文

posted @ 2010-12-22 15:40 Levon Chen 阅读(361) 评论(0) 推荐(0) 编辑

GridView实现根据ViewModel自动加列

摘要: namespace TestAutoGenerateColumnForGridView{/// summary/// Used to generate columns automatically./// Ref: http://stackoverflow.com/questions/2643545/wpf-mvvm-how-to-bind-gridviewcolumn-to-viewmodel-collection/// /summarypublic static class GridViewColumns{private static IDictionaryICollectionV 阅读全文

posted @ 2010-12-22 13:09 Levon Chen 阅读(758) 评论(0) 推荐(0) 编辑

WPF中控件的Event转换成Command执行

摘要: 信息收集:http://www.cnblogs.com/Code-life/archive/2010/12/05/1897206.htmlhttp://blogs.msdn.com/b/devdave/archive/2008/06/22/using-an-attached-dependencyproperty-to-implement-pixel-snapping-as-an-attached-behavior.aspx详细实现。using System;using System.Collections.Generic;using System.Linq;using System.Text; 阅读全文

posted @ 2010-12-22 13:06 Levon Chen 阅读(639) 评论(0) 推荐(0) 编辑

导航