MahApps/MahApps.Metro — pull request #1624 by thoemmi (2014-10-29 20:04:39+00:00)
Title: Eliminated the need to pass the owning BaseMetroTabControl to MetroTabItem

Currently `MetroTabItem` has a public property `OwningTabControl` which is required when closing a tab (confer #555 and #631).

I eliminated the need for this property by finding the `BaseMetroTabControl` at runtime. This makes it much easier to add tabs dynamically in a MVVM application, because you don't need to pass the `BaseMetroTabControl` to `MetroTabItem`'s constructor.

I kept the old, now superfluous constructor, but added a `ObsoleteAttribute`, because it is a breaking change. Feel free to remove that c'tor.