【发布时间】:2010-04-26 09:51:16
【问题描述】:
我写了这个 UserControl:
<my:MyUserControl x:Class="MyClass"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:MyNameSpace.MyControls;assembly=MyAssembly">
</my:MyUserControl>
public partial class Editor : MyNameSpace.MyControls.MyUserControl {}
一切正常,控件显示在 VS 2008 设计器中,但我无法像使用 UserControl 一样直接单击元素并选择它们。
知道怎么解决吗?
【问题讨论】:
标签: wpf visual-studio-2008 inheritance designer