diff --git a/DataGrid_Themes.csproj b/DataGrid_Themes.csproj
index e6b5fa6..90307a6 100644
--- a/DataGrid_Themes.csproj
+++ b/DataGrid_Themes.csproj
@@ -9,7 +9,7 @@
Properties
DataGrid_Themes
DataGrid_Themes
- v4.6
+ v4.6.2
512
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
4
@@ -36,37 +36,37 @@
- packages\Syncfusion.Data.WPF.19.1.0.55\lib\net46\Syncfusion.Data.WPF.dll
+ packages\Syncfusion.Data.WPF.30.1.37\lib\net462\Syncfusion.Data.WPF.dll
- packages\Syncfusion.Grid.WPF.19.1.0.55\lib\net46\Syncfusion.Grid.WPF.dll
+ packages\Syncfusion.Grid.WPF.30.1.37\lib\net462\Syncfusion.Grid.WPF.dll
- packages\Syncfusion.GridCommon.Wpf.19.1.0.55\lib\net46\Syncfusion.GridCommon.WPF.dll
+ packages\Syncfusion.GridCommon.Wpf.30.1.37\lib\net462\Syncfusion.GridCommon.WPF.dll
- packages\Syncfusion.Licensing.19.1.0.55\lib\net46\Syncfusion.Licensing.dll
+ packages\Syncfusion.Licensing.30.1.37\lib\net462\Syncfusion.Licensing.dll
- packages\Syncfusion.Linq.Base.19.1.0.55\lib\net46\Syncfusion.Linq.Base.dll
+ packages\Syncfusion.Linq.Base.30.1.37\lib\net462\Syncfusion.Linq.Base.dll
- packages\Syncfusion.SfGrid.WPF.19.1.0.55\lib\net46\Syncfusion.SfGrid.WPF.dll
+ packages\Syncfusion.SfGrid.WPF.30.1.37\lib\net462\Syncfusion.SfGrid.WPF.dll
- packages\Syncfusion.SfInput.WPF.19.1.0.55\lib\net46\Syncfusion.SfInput.WPF.dll
+ packages\Syncfusion.SfInput.WPF.30.1.37\lib\net462\Syncfusion.SfInput.WPF.dll
- packages\Syncfusion.SfShared.WPF.19.1.0.55\lib\net46\Syncfusion.SfShared.WPF.dll
+ packages\Syncfusion.SfShared.WPF.30.1.37\lib\net462\Syncfusion.SfShared.WPF.dll
- packages\Syncfusion.SfSkinManager.WPF.19.1.0.55\lib\net46\Syncfusion.SfSkinManager.WPF.dll
+ packages\Syncfusion.SfSkinManager.WPF.30.1.37\lib\net462\Syncfusion.SfSkinManager.WPF.dll
- packages\Syncfusion.Shared.WPF.19.1.0.55\lib\net46\Syncfusion.Shared.WPF.dll
+ packages\Syncfusion.Shared.WPF.30.1.37\lib\net462\Syncfusion.Shared.WPF.dll
-
- packages\Syncfusion.Themes.FluentDark.WPF.19.1.0.55\lib\net46\Syncfusion.Themes.FluentDark.WPF.dll
+
+ packages\Syncfusion.Themes.Windows11Light.WPF.30.1.37\lib\net462\Syncfusion.Themes.Windows11Light.WPF.dll
diff --git a/Images/Output.png b/Images/Output.png
index 3f693d8..9e6fe51 100644
Binary files a/Images/Output.png and b/Images/Output.png differ
diff --git a/MainWindow.xaml b/MainWindow.xaml
index 115bec7..5c5cd1b 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -1,4 +1,4 @@
-
-
+
@@ -20,7 +20,7 @@
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs
index eb1eb44..f919b6e 100644
--- a/MainWindow.xaml.cs
+++ b/MainWindow.xaml.cs
@@ -6,7 +6,7 @@
// applicable laws.
#endregion
using Syncfusion.SfSkinManager;
-using Syncfusion.Themes.FluentDark.WPF;
+using Syncfusion.Themes.Windows11Light.WPF;
using Syncfusion.Windows.Shared;
using System;
using System.Collections.Generic;
@@ -27,23 +27,25 @@ namespace DataGrid_Themes
///
/// Interaction logic for MainWindow.xaml
///
- public partial class MainWindow : ChromelessWindow
+ public partial class MainWindow : Window
{
public MainWindow()
{
- FluentDarkThemeSettings fluentDarkThemeSettings = new FluentDarkThemeSettings();
- fluentDarkThemeSettings.PrimaryBackground = new SolidColorBrush(Colors.Red);
- fluentDarkThemeSettings.PrimaryForeground = new SolidColorBrush(Colors.AntiqueWhite);
- fluentDarkThemeSettings.BodyFontSize = 15;
- fluentDarkThemeSettings.HeaderFontSize = 18;
- fluentDarkThemeSettings.SubHeaderFontSize = 17;
- fluentDarkThemeSettings.TitleFontSize = 17;
- fluentDarkThemeSettings.SubTitleFontSize = 16;
- fluentDarkThemeSettings.BodyAltFontSize = 15;
- fluentDarkThemeSettings.FontFamily = new FontFamily("Callibri");
- SfSkinManager.RegisterThemeSettings("FluentDark", fluentDarkThemeSettings);
- SfSkinManager.SetTheme(this, new Theme("FluentDark"));
- InitializeComponent();
+ Windows11LightThemeSettings windows11LightThemeSettings = new Windows11LightThemeSettings();
+ windows11LightThemeSettings.PrimaryBackground = new SolidColorBrush(Colors.Red);
+ windows11LightThemeSettings.PrimaryForeground = new SolidColorBrush(Colors.AntiqueWhite);
+ windows11LightThemeSettings.BodyFontSize = 15;
+ windows11LightThemeSettings.HeaderFontSize = 18;
+ windows11LightThemeSettings.SubHeaderFontSize = 17;
+ windows11LightThemeSettings.TitleFontSize = 17;
+ windows11LightThemeSettings.SubTitleFontSize = 16;
+ windows11LightThemeSettings.BodyAltFontSize = 15;
+ windows11LightThemeSettings.FontFamily = new FontFamily("Callibri");
+ SfSkinManager.RegisterThemeSettings("Windows11Light", windows11LightThemeSettings);
+ SfSkinManager.ApplyThemeAsDefaultStyle = true;
+ SfSkinManager.SetTheme(this, new Theme("Windows11Light"));
+ InitializeComponent();
+
}
}
}
diff --git a/README.md b/README.md
index 5f86478..417df64 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# How to customize themes using WPF SkinManager?
-This sample loads [Datagrid](https://help.syncfusion.com/wpf/datagrid/getting-started) and [Chromeless Window](https://help.syncfusion.com/wpf/chromeless-window/getting-started) with custom theme look using SkinManager [Theme](https://help.syncfusion.com/wpf/themes/getting-started#apply-visual-style-to-controls) and register theme settings support.
+This sample loads [Datagrid](https://help.syncfusion.com/wpf/datagrid/getting-started) and Window with custom theme look using SkinManager Theme and register theme settings support.

diff --git a/app.config b/app.config
index cb2586b..40bab6f 100644
--- a/app.config
+++ b/app.config
@@ -1,3 +1,3 @@
-
+
diff --git a/packages.config b/packages.config
index 45077ee..572cbd0 100644
--- a/packages.config
+++ b/packages.config
@@ -1,14 +1,14 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file