01 2015 档案

摘要:The Scenario I want to do a master detail like scenario where the selection in one ComboBox cell will update the list of items in the next ComboBox cell and so on. Setting up the DataSource and Vi... 阅读全文
posted @ 2015-01-28 15:31 马语者 阅读(1353) 评论(0) 推荐(0)
摘要:Introduction Since .NET 4.0, Microsoft is shipping a DataGrid control that provides all the basic functionality needed, like: Auto generation of columns Manual definition of columns Sel... 阅读全文
posted @ 2015-01-28 15:29 马语者 阅读(2395) 评论(0) 推荐(0)
摘要:MultiLevelMultiSelectCombo (Silverlight) Tharindu Nishad Patikirikorala, 14 Aug 2013 CPOL 5.00 (1 vote) Rate: vote 1vote 2vote 3vote 4vote 5 The MultiLevelMultiSelectCombo is an extension of ... 阅读全文
posted @ 2015-01-26 14:24 马语者 阅读(469) 评论(0) 推荐(0)
摘要:var intersectionDetail = path1.Data.FillContainsWithDetail(path2.Data); if (intersectionDetail != IntersectionDetail.NotCalculated && intersectionDetail != IntersectionDetail.Empty) { ... 阅读全文
posted @ 2015-01-20 14:52 马语者 阅读(827) 评论(0) 推荐(0)
摘要:We can use the Arc XAML element to draw arcs in XAML. Besides drawing arcs using the Arc element, we can also use the ArcSegment element. The ArcSegment is useful when an arc becomes a part of a graph... 阅读全文
posted @ 2015-01-16 15:55 马语者 阅读(1974) 评论(0) 推荐(1)
摘要:OpenFileDialog obj = new OpenFileDialog(); if (obj.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Assembly ass = Assembly.LoadFrom(obj.FileName); foreach(var type in ass.GetType... 阅读全文
posted @ 2015-01-12 19:29 马语者 阅读(1534) 评论(0) 推荐(0)
摘要:直接用{Binding} 就可以了,如下: ... 阅读全文
posted @ 2015-01-07 14:54 马语者 阅读(2192) 评论(0) 推荐(0)
摘要:获取变量名字符串: public static string GetVariableName(Expression> memberExpression) { var body = memberExpression.Body as MemberExpression;... 阅读全文
posted @ 2015-01-05 18:08 马语者 阅读(398) 评论(0) 推荐(0)
摘要:if (TypeDescriptor.GetProperties(this)[propertyName] == null) { Debug.Fail("无效属性名称: " + propertyName); } 阅读全文
posted @ 2015-01-05 17:59 马语者 阅读(274) 评论(0) 推荐(0)