摘要:
原文地址http://devlicio.us/blogs/christopher_bennage/archive/2010/03/29/d-designinstance-in-blend-4.aspx在blend 中设计View的时候View的DataContext 常常从父级继承。这是在Dinding的时候出现不方便。可以在xaml 中添加如下代码xmlns:d="http://schemas.microsoft.com/expression/blend/2008"d:DataContext="{d:DesignInstance {x:Type vm:MainW 阅读全文
posted @ 2011-03-31 15:42
孤狼晖
阅读(742)
评论(0)
推荐(0)

浙公网安备 33010602011771号