0

I have created the Windows C# project.There is one windows form. In the same project I created a WPF component and when i try to place this component on windows form some error is coming "Failed to create component".

Please check the link below to get more details about error.

1.When I drag the component from toolbox to form this error comes: enter image description here

2.while i select the WPF component in ElementHost I get this error: enter image description here

Please help me this.

Ms. Nobody
  • 1,219
  • 3
  • 14
  • 34
user2567495
  • 11
  • 1
  • 3

1 Answers1

0

Your component Grid_Buttons does not have a default constructor with no parameters which is required by the designer to automatically generate code.

dsfgsho
  • 2,731
  • 2
  • 22
  • 39