1) Migration to .NET 8
2) Fix #132 - Tabs locked in some cases (this requires a .NET version that supports async)
3) Feature - Use DependencyObject to bind Parition to reuse for e.g. a dragged out window (works if you set it in the constructor)
4) Fix - TabEmptiedResponse.DoNothing leaves empty grids when the last tab is closed. To remove them without closing the window, I added TabEmptiedResponse.CloseLayoutBranch.
public TabEmptiedResponse TabEmptiedHandler(TabablzControl tabControl, Window window)
{
return window is MainWindow ? TabEmptiedResponse.CloseLayoutBranch : TabEmptiedResponse.CloseWindowOrLayoutBranch;
}
5) Feature - Disable branch consolidation for a TabablzControl via DependencyProperty (e.g. if you have a "main" TabablzControl that is responsible for creating new tab items and you don't want this to get destroyed on the last tab that is dragged out)
Some improvements & bug fixes
1) Migration to .NET 8 2) Fix #132 - Tabs locked in some cases (this requires a .NET version that supports async) 3) Feature - Use DependencyObject to bind Parition to reuse for e.g. a dragged out window (works if you set it in the constructor)
4) Fix -
TabEmptiedResponse.DoNothing
leaves empty grids when the last tab is closed. To remove them without closing the window, I addedTabEmptiedResponse.CloseLayoutBranch
.5) Feature - Disable branch consolidation for a TabablzControl via DependencyProperty (e.g. if you have a "main" TabablzControl that is responsible for creating new tab items and you don't want this to get destroyed on the last tab that is dragged out)
6) Upate MahApps resource keys for brushes/colors.