The other way is to modify/create a style - the issue then is hooking
it up to an actual 'close' event in a generic fashion.
If you look at the TabControl style, you'll see the "Header"
ContentPresenter. If you wrap that in a stackpanel and add a button
like so:
You get :
If you have that in your Window or UserControl (rather than a resource
dictionary), you can wire that up so Click can fire and you can then
remove the item from the databound collection or directly from the
TabControl.