alarconspawn
alarconspawn

Reputation: 1

WPF UserControl Container C# VS 2010

I have a problem because y want to create a UserControl that can have a functionality as a container.

I used the link:

http://support.microsoft.com/kb/813450/en-us?fr=1

but i suposed that this part don't work for WPF 4.0:

[Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof(IDesigner))] public class UserControl1 : System.Windows.Forms.UserControl {

  ...

}

Please Help Me¡¡¡¡¡

Upvotes: 0

Views: 816

Answers (1)

Arcturus
Arcturus

Reputation: 27065

You are using Forms UserControl...

Start using WPF UserControl instead and all will be well!

public class UserControl1 : System.Windows.Controls.UserControl

Upvotes: 0

Related Questions