I created 2 WPF controls that are in one folder, and I want to add one control to another.
The controls are added to the Win Forms project.
The fact is that in the Win Forms user control, I can see my two WPF controls in the toolbar, but in the WPF designer I do not see any WPF controls. Any ideas why?
And how can I add my control, it's XAML without dragging from the toolbar
I tried using
<UserControl x:
xmlns:my2="my.name.space"
Height="300" Width="300">
<Grid>
<my2:MyControlName>
</my2:MyControlName>
</Grid>
But this does not work with type "my2: MyControlName" does not exist
source
share