I have 3 TabItems in a TabControl. If I press a Button in one of them, the other 2 get disabled. I do this with:
TabItem1.IsEnabled = false;
This works well, but the Color of the TabItem does Change too into transparent. Like in this Picture Is there a way I can disable the TabItems without them changing their color or making the Text atleast readable then the TabItem is disabled?