Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Avoiding code duplication in your XAML

$
0
0

Good day,

Basically have a full WPF app (my first) built to update a list of orders. I would like to take the existing GUI, put in a tab and create another tab identical to the first with a few exceptions (names on some buttons, text in some labels, etc). I can copy/paste the XAML from one tab into the other, but I can't help but think that there is another way that avoids this code duplication. Is there?

Thank you.

JF


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>