C#C
C#2y ago
19 replies
Cam

✅ Adding XAML code from a seperate file into the MainWindow

Is it possible to add XAML code into a file from own other. These are files that I will regularly need to edit and update so having them in a seperate file from the MainWindow is important.

E.g “Panel1.xaml” needs to have its code “injected” into MainWindow
Was this page helpful?