摘要: 上一篇文章中在XAML中通过标识扩展实现了一个简单的数据绑定,这篇中将通过C#代码实现上篇相同效果。 上面说过,上篇是通过扩展标识实现TextBlock的数据绑定: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<TextBlockx:N... 阅读全文
posted @ 2010-06-19 10:38 i'm zjz 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 这个例子中被绑定的数据是一个owner类的实例,现在silverlight项目中添加一个owner类 Class OwnerCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicclassOwner{publicintOwnerId{get;se... 阅读全文
posted @ 2010-06-19 09:20 i'm zjz 阅读(490) 评论(0) 推荐(0) 编辑