diff --git a/iNKORE.UI.WPF.Modern.sln b/iNKORE.UI.WPF.Modern.sln
index 58890bb6..b9cb6b51 100644
--- a/iNKORE.UI.WPF.Modern.sln
+++ b/iNKORE.UI.WPF.Modern.sln
@@ -59,8 +59,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SettingsNavigationTest", "s
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ButtonsOnTitlebar", "samples\ButtonsOnTitlebar\ButtonsOnTitlebar.csproj", "{B7A35355-ED5B-494C-9BB8-6EBA1155E60E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TabControlTest", "samples\TabControlTest\TabControlTest.csproj", "{103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -395,26 +393,6 @@ Global
{B7A35355-ED5B-494C-9BB8-6EBA1155E60E}.Release|x64.Build.0 = Release|Any CPU
{B7A35355-ED5B-494C-9BB8-6EBA1155E60E}.Release|x86.ActiveCfg = Release|Any CPU
{B7A35355-ED5B-494C-9BB8-6EBA1155E60E}.Release|x86.Build.0 = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|ARM.Build.0 = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|ARM64.Build.0 = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|x64.ActiveCfg = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|x64.Build.0 = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|x86.ActiveCfg = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Debug|x86.Build.0 = Debug|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|Any CPU.Build.0 = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|ARM.ActiveCfg = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|ARM.Build.0 = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|ARM64.ActiveCfg = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|ARM64.Build.0 = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|x64.ActiveCfg = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|x64.Build.0 = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|x86.ActiveCfg = Release|Any CPU
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -435,7 +413,6 @@ Global
{84C80EA6-0F9C-49CF-AB66-5696CC888CA7} = {A96F98E9-18B5-4863-8F28-9B7BDF70A128}
{AF682B4E-6A51-474A-8D80-0738A94C72FA} = {A96F98E9-18B5-4863-8F28-9B7BDF70A128}
{B7A35355-ED5B-494C-9BB8-6EBA1155E60E} = {A96F98E9-18B5-4863-8F28-9B7BDF70A128}
- {103A71A3-95FD-60C8-2D1F-3AA459BD0DDB} = {A96F98E9-18B5-4863-8F28-9B7BDF70A128}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6251E140-0FAA-4DE9-B245-1C5BE188E578}
diff --git a/samples/TabControlTest/App.xaml b/samples/TabControlTest/App.xaml
deleted file mode 100644
index d2b6c52b..00000000
--- a/samples/TabControlTest/App.xaml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/TabControlTest/App.xaml.cs b/samples/TabControlTest/App.xaml.cs
deleted file mode 100644
index 15aa2e83..00000000
--- a/samples/TabControlTest/App.xaml.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System.Configuration;
-using System.Data;
-using System.Windows;
-
-namespace TabControlTest;
-
-///
-/// Interaction logic for App.xaml
-///
-public partial class App : Application
-{
-}
-
diff --git a/samples/TabControlTest/AssemblyInfo.cs b/samples/TabControlTest/AssemblyInfo.cs
deleted file mode 100644
index cc29e7f7..00000000
--- a/samples/TabControlTest/AssemblyInfo.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using System.Windows;
-
-[assembly:ThemeInfo(
- ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
- //(used if a resource is not found in the page,
- // or application resource dictionaries)
- ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
- //(used if a resource is not found in the page,
- // app, or any theme specific resource dictionaries)
-)]
diff --git a/samples/TabControlTest/MainWindow.xaml b/samples/TabControlTest/MainWindow.xaml
deleted file mode 100644
index 3e3585bf..00000000
--- a/samples/TabControlTest/MainWindow.xaml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
diff --git a/samples/TabControlTest/MainWindow.xaml.cs b/samples/TabControlTest/MainWindow.xaml.cs
deleted file mode 100644
index c56b5c70..00000000
--- a/samples/TabControlTest/MainWindow.xaml.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using iNKORE.UI.WPF.Modern.Controls;
-using System.Collections.ObjectModel;
-using System.Windows;
-using System.Windows.Controls;
-
-namespace TabControlTest;
-
-///
-/// Interaction logic for MainWindow.xaml
-///
-public partial class MainWindow : Window
-{
- public MainWindow()
- {
- InitializeComponent();
-
- DataContext = this;
- AddTestingMenuItems();
-
- tabControl.RegisterTabClosingEvent((menuControl, e) =>
- {
- if (e.Tab.Tag is not "ConfirmClose")
- {
- TabItems.Remove(e.Tab);
- return;
- }
-
- var msgResult = MessageBox.Show("Confirm closing?", "Confirm", MessageBoxButton.OKCancel, MessageBoxImage.Question);
- if (msgResult != MessageBoxResult.OK)
- {
- e.Cancel = true;
- return;
- }
-
- // when using ItemsSource, manually remove tab item.
- TabItems.Remove(e.Tab);
- });
- }
-
- public ObservableCollection TabItems { get; } = [];
-
- private void AddTestingMenuItems()
- {
- var item1 = new TabItem()
- {
- Header = "Closeable"
- };
-
- var item2 = new TabItem()
- {
- Header = "ConfirmToClose",
- Tag = "ConfirmClose"
- };
-
- TabItems.Add(item1);
- TabItems.Add(item2);
- }
-}
\ No newline at end of file
diff --git a/samples/TabControlTest/TabControlTest.csproj b/samples/TabControlTest/TabControlTest.csproj
deleted file mode 100644
index 83ac89e9..00000000
--- a/samples/TabControlTest/TabControlTest.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- WinExe
- net8.0-windows
- enable
- enable
- true
-
-
-
-
-
-
diff --git a/samples/WpfApp1/MainWindow.xaml b/samples/WpfApp1/MainWindow.xaml
index 9270aed3..cb6621f0 100644
--- a/samples/WpfApp1/MainWindow.xaml
+++ b/samples/WpfApp1/MainWindow.xaml
@@ -11,26 +11,21 @@
ui:WindowHelper.UseModernWindowStyle="True"
Loaded="Window_Loaded" Background="{DynamicResource {x:Static ui:ThemeKeys.AcrylicBackgroundFillColorDefaultBrushKey}}">
diff --git a/samples/WpfApp1/WpfApp1.csproj b/samples/WpfApp1/WpfApp1.csproj
index 21cd1caa..6a4b2aac 100644
--- a/samples/WpfApp1/WpfApp1.csproj
+++ b/samples/WpfApp1/WpfApp1.csproj
@@ -13,7 +13,7 @@
-
+
diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/Pages/Controls/Windows/TabViewPage.xaml b/source/iNKORE.UI.WPF.Modern.Gallery/Pages/Controls/Windows/TabViewPage.xaml
index 16b8f0e6..a4c45494 100644
--- a/source/iNKORE.UI.WPF.Modern.Gallery/Pages/Controls/Windows/TabViewPage.xaml
+++ b/source/iNKORE.UI.WPF.Modern.Gallery/Pages/Controls/Windows/TabViewPage.xaml
@@ -8,7 +8,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
- mc:Ignorable="d" d:DesignWidth="734.51">
+ mc:Ignorable="d" d:DesignWidth="907.31">