Closed beefsteak closed 3 years ago
@beefsteak Removing a tab causes a recalculation of the bindings but the parent TabControl
is not available anymore for the tab item. That is more a problem of WPF than MaterialDesignExtensions. You might add the following code before the Clear()
call:
foreach (object item in Tab.Items)
{
((TabItem)item).Template = null;
}
Cannot find source for binding,I guess it's a style problem.