摘要: 继续重构上一篇《Prism安装、MVVM基础概念及一个简单的样例》中的事例,在这一篇里我们将让命令绑定支持带方法参数。这是非常重要的一个编码需求。为了让本例支持更复杂的应用场景,我们这次要针对一个列表进行操作。1:建立领域模型public class StudentTeam: NotificationObject { string teamName; public string TeamName { get { return teamName; } set { teamName = value; this.RaisePropertyChanged(() => this.TeamName) 阅读全文
posted @ 2011-05-30 08:48 陆敏技 阅读(12774) 评论(13) 推荐(8)
Web Counter
Coupon for Contacts