Try rebuilding the solution using Build, Rebuild Solution menu command. Close and reopen the designers.
How to insert UserControl into TabPage in .NET5 WPF ?
Hi,
I need to insert a UserControl onto a TabPage on a main form but it does not work for me.
I have .NET5 WPF project in MS VS 2019 v 16.9.4.
Can someone help me ? Here is my source code:
https://drive.google.com/file/d/1YACmuMXhZllATRnld901q6vDzK9iU0JE/view?usp=sharing
The command <app:ProcessView /> does not work and shows me this error:
Severity Code Description Project File Line Suppression State
Error XDG0008 The name "UserControl1" does not exist in the namespace "clr-namespace:WpfApp". WpfApp c:\1\WpfApp4 TabControl\WpfApp\WpfApp\MainWindow.xaml 12
thanks Jerry
2 additional answers
Sort by: Most helpful
-
JerryM 1,116 Reputation points
2021-04-21T14:37:37.273+00:00 wooooou it is working ok... :) thanks
and by the way, do you know how to insert it dynamically based on "code behind" ???
-