上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 37 下一页
摘要: 1. 用ComplexObject. class CompanyComplexInfo : ComplexObject{ List<Department> DepList {set; get;} List<Employee> EmpList{set; get;}}好像 ComplexObject 不支持 List, 自动生成代码中没有 DepList 属性 和 EmpList 属性.2. 用 shared.cs客户端是有了这2个属性了, 但是值总是 null.3.说明网上有一些是通过修改 edxm的文件, 但是这种做法应该是Code-First吧? 阅读全文
posted @ 2012-08-13 17:35 Ken-Cai 阅读(6194) 评论(0) 推荐(0) 编辑
摘要: 给“System.Windows.Controls.DataGridColumnCollection”类型的集合添加值时发生异常。 [Line: 31 Position: 172] 阅读全文
posted @ 2012-07-13 11:37 Ken-Cai 阅读(417) 评论(0) 推荐(0) 编辑
摘要: <UserControl.Resources> <vm:TestViewMode x:Key="TestViewModeObj"></vm:BZ标准GridVM></UserControl.Resources>找不到类型“BZ标准TestViewMode ”,因为“clr-namespace:MyViewModel;assembly=MyViewModel”为未知命名空间。 [Line: 9 Position: 30]出现这种错误的临时解决办法: 在 TestViewMode添加一个随便的属性, 如Name.然后在UserCo 阅读全文
posted @ 2012-07-09 08:36 Ken-Cai 阅读(556) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/luminji/article/details/4860887xmlns:windows="clr-namespace:System.Windows;assembly=System.Windows.Controls"<windows:HierarchicalDataTemplate x:Key="ChildTemplate" ItemsSource="{Binding Path=ChildTopics}" ><TextBlock FontStyle="Italic& 阅读全文
posted @ 2012-07-07 09:47 Ken-Cai 阅读(253) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/lensso/archive/2011/05/25/2057226.html里面有讲到设置焦点的原理 阅读全文
posted @ 2012-07-03 16:10 Ken-Cai 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 用 var document = HtmlPage.Document; document.SetProperty("title", "My title");可以在 ContentFrame 的 Navigated 事件中添加上面的代码,统一设置. 阅读全文
posted @ 2012-07-02 07:35 Ken-Cai 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Silverlight使用DataGrid的模板列(DataGridTemplateColumn)实现类似TreeListView控件的效果 阅读全文
posted @ 2012-07-01 08:41 Ken-Cai 阅读(189) 评论(0) 推荐(0) 编辑
摘要: How do I dynamically construct a predicate method from an expression tree? 阅读全文
posted @ 2012-07-01 00:41 Ken-Cai 阅读(580) 评论(0) 推荐(0) 编辑
摘要: Real-time list filtering with Silverlight, MVVM, and PagedCollectionView 通过Behavior来实现 阅读全文
posted @ 2012-07-01 00:31 Ken-Cai 阅读(361) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/zh-cn/magazine/ee291628.aspxMEF 通过诊断拒绝的功能,即跟踪功能。有以下3种方式:在 IDE 中,可从输出窗口跟踪所有拒绝消息,不过也可以从任何有效的跟踪侦听器跟踪这些消息。在调试中,查看部件。 container.Catalog.Parts在命令行处诊断。可下载 MEFX.exe 进行诊断。 阅读全文
posted @ 2012-06-22 22:44 Ken-Cai 阅读(153) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 37 下一页