摘要:
这里的绑定是没有问题的,问题在于绑定发生在你设置DataContext之前,所以Image路径还没有设置成你期望的值。 一种解决方法是在xaml中去掉 Source="{Binding ProductImage}" 然后再你通过WebService取到Product以后再把这个Binding 加上。 Something like this: Code Snippet p... 阅读全文
摘要:
文件Page.xaml CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ... 阅读全文
摘要:
一个调用了WebService 和 使用控件ListBox 等的实例 源码: 文件Page.xaml CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ... 阅读全文