Are you using the MVVM design pattern? If you are not you should be. In the ViewModel, you should have the name of the tab or the information you want to use for the name and you can use a converter. The TabControl has a collection tabs, and you can bind the TabControl's ItemsSource to the collection of tabs you want displayed. See this blog:
MVVM TabControl[
^]. I know it is not a detailed example, but should be of help getting started with a properly designed Tab Control MVVM application.