From 7d3d9df20c76bdbd994d3a156d0acc6b8f898575 Mon Sep 17 00:00:00 2001 From: Dipesh Kumar Date: Fri, 18 Jul 2025 14:30:11 +0530 Subject: [PATCH] Added license headers in fluent style files --- .../Generator/ThemeGenerator.Fluent.ps1 | 35 ++++++++++++------- .../Styles/DocumentViewer.xaml | 6 ++++ .../Styles/GridSplitter.xaml | 6 ++++ .../Styles/GridView.xaml | 6 ++++ .../Styles/GroupBox.xaml | 6 ++++ .../Styles/Hyperlink.xaml | 6 ++++ .../Styles/ItemsControl.xaml | 6 ++++ .../Styles/NavigationWindow.xaml | 6 ++++ .../Styles/ResizeGrip.xaml | 6 ++++ .../Styles/StatusBarItem.xaml | 6 ++++ .../Styles/Thumb.xaml | 6 ++++ .../Styles/UserControl.xaml | 6 ++++ .../Themes/Fluent.Dark.xaml | 9 +++++ .../Themes/Fluent.HC.xaml | 9 +++++ .../Themes/Fluent.Light.xaml | 9 +++++ .../Themes/Fluent.xaml | 9 +++++ 16 files changed, 125 insertions(+), 12 deletions(-) diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/Generator/ThemeGenerator.Fluent.ps1 b/src/Microsoft.DotNet.Wpf/src/Themes/Generator/ThemeGenerator.Fluent.ps1 index be44a141cb2..3cc8142f68f 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/Generator/ThemeGenerator.Fluent.ps1 +++ b/src/Microsoft.DotNet.Wpf/src/Themes/Generator/ThemeGenerator.Fluent.ps1 @@ -14,18 +14,29 @@ foreach($themeColor in $themeColors) $outFilePath = Join-Path $fluentThemeDir "Themes\Fluent.xaml" } - [xml]$combinedXaml = ' - ' + [xml]$combinedXaml = ' + + + + ' foreach ($file in Get-ChildItem $resouceFilesDir -Filter "*.xaml") { if($file.BaseName -eq "Fluent") { diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DocumentViewer.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DocumentViewer.xaml index 4b9d4479619..9af3fa8b561 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DocumentViewer.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DocumentViewer.xaml @@ -1,3 +1,9 @@ + + + + + + + + + + + + diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.HC.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.HC.xaml index f00c44d060a..d5cd2ed3588 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.HC.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.HC.xaml @@ -1,3 +1,12 @@ + diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Light.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Light.xaml index ad21ad03abe..1caa149fcaa 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Light.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Light.xaml @@ -1,3 +1,12 @@ + diff --git a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.xaml b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.xaml index 3fa5074415a..3d526ab25b4 100644 --- a/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.xaml +++ b/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.xaml @@ -1,3 +1,12 @@ +