I was looking to make tabs that look like the following:
How do you add an image to TabControl's label in Winforms?
but in wpf C#.
I dynamically add the tabs and was hoping to change the image depending on if the tab had been saved or not (i already have the code for that part).
Is there an easy way to do this?
what you are looking for is the TabItems HeaderTemplate …
XAML:
instead of a rectangle you could specify an image or whatever element you want …