2010年9月20日
摘要: 文章摘自:http://developers.de/blogs/damir_dobric/archive/2010/05/02/accessing-of-rows-in-silverlight-datagrid.aspxImagine you want to enumerate (enlist) all rows (DataGridRow) of Silverlight Grid (DataGri... 阅读全文
posted @ 2010-09-20 16:05 elaborateday 阅读(682) 评论(0) 推荐(0) 编辑
摘要: public static partial class Extensions { public static T FindAncestor<T>(DependencyObject obj) where T : DependencyObject { while (obj != null) { T o = obj as T; if (o != null) return o; obj = V... 阅读全文
posted @ 2010-09-20 16:05 elaborateday 阅读(218) 评论(0) 推荐(0) 编辑