摘要: When you are in a DataTemplate, the DataContext might not be what you expect. Typically the DataContext in a DataTemplate is set to the item that the DataTemplate represents. If your TextChanged command is on the "main viewmodel" instead of the data item, you need to be more precise in the 阅读全文
posted @ 2011-07-18 11:01 扯 阅读(178) 评论(0) 推荐(0) 编辑