I would like to extend the tab control to have closeable tab items.
I have found this WPF solution of Kent: On the WPF TabControl - can I add content next to the tab headers?
I opened a copy of the existing silverlight tabcontrol in Blend. However the structure looks quite different to the WPF tabcontrol. I can't get it right into the Silverlight control template.
Does anyone know a good resource for me?
You can Template TabItem to have some sort of close button that you can hook up in code behind to close the currently selected tab.
After this, in on apply template you can subscribe to the ButtonClicked Event.
Something like this:
In that event, you can close your tab.
Hope This helps, code might not work as is, just did it quickly.
Ty Rozak