WPF inherited UserControl lost VS designer support

Posted by PaN1C_Showt1Me on Stack Overflow See other posts from Stack Overflow or by PaN1C_Showt1Me
Published on 2010-04-26T09:51:16Z Indexed on 2010/04/26 9:53 UTC
Read the original article Hit count: 154

Hi !

I' written this 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 {}

Everything works, the control is shown in the VS 2008 Designer, but I cannot click directly in the elements and select them as it was with UserControl.

Any idea how to solve it?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about inheritance