I'm trying to create a WPF application where the homepage (aka MainWindow) will contain several tabs.
I'm wondering what would be the best approach/architecture to encapsulate code specific to each tab instead of coding everything in the same place ?
NOTE
After some research I found UserControl
class, but I've always thought that class was use in order to avoid re-coding the same logic over and over. In my case I would be using them once for every tab.