Skip to content

Commit 390c570

Browse files
authored
Added license headers in fluent style files (#10989)
1 parent d530ee1 commit 390c570

File tree

16 files changed

+125
-12
lines changed

16 files changed

+125
-12
lines changed

src/Microsoft.DotNet.Wpf/src/Themes/Generator/ThemeGenerator.Fluent.ps1

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,29 @@ foreach($themeColor in $themeColors)
1414
$outFilePath = Join-Path $fluentThemeDir "Themes\Fluent.xaml"
1515
}
1616

17-
[xml]$combinedXaml = '<ResourceDictionary
18-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
19-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
20-
xmlns:sys="clr-namespace:System;assembly=mscorlib"
21-
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=PresentationFramework"
22-
xmlns:fluentcontrols="clr-namespace:Fluent.Controls"
23-
xmlns:system="clr-namespace:System;assembly=System.Runtime"
24-
xmlns:ui="clr-namespace:System.Windows.Documents;assembly=PresentationUI"
25-
xmlns:theme="clr-namespace:Microsoft.Windows.Themes"
26-
xmlns:framework="clr-namespace:MS.Internal;assembly=PresentationFramework"
27-
xmlns:base="clr-namespace:System.Windows;assembly=WindowsBase">
28-
</ResourceDictionary>'
17+
[xml]$combinedXaml = '
18+
<!--=================================================================
19+
Licensed to the .NET Foundation under one or more agreements.
20+
The .NET Foundation licenses this file to you under the MIT license.
21+
See the LICENSE file in the project root for more information.
22+
23+
THIS IS A GENERATED FILE. NO CHANGES SHOULD BE MADE HERE DIRECTLY.
24+
25+
Use ThemeGenerator.Fluent.ps1 file to generate this file.
26+
==================================================================-->
27+
28+
<ResourceDictionary
29+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
30+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
31+
xmlns:sys="clr-namespace:System;assembly=mscorlib"
32+
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=PresentationFramework"
33+
xmlns:fluentcontrols="clr-namespace:Fluent.Controls"
34+
xmlns:system="clr-namespace:System;assembly=System.Runtime"
35+
xmlns:ui="clr-namespace:System.Windows.Documents;assembly=PresentationUI"
36+
xmlns:theme="clr-namespace:Microsoft.Windows.Themes"
37+
xmlns:framework="clr-namespace:MS.Internal;assembly=PresentationFramework"
38+
xmlns:base="clr-namespace:System.Windows;assembly=WindowsBase">
39+
</ResourceDictionary>'
2940

3041
foreach ($file in Get-ChildItem $resouceFilesDir -Filter "*.xaml") {
3142
if($file.BaseName -eq "Fluent") {

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DocumentViewer.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary
28
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
39
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/GridSplitter.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary
28
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
39
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/GridView.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary
28
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
39
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/GroupBox.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary
28
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
39
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Hyperlink.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary
28
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
39
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ItemsControl.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary
28
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
39
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/NavigationWindow.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
28
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
39
xmlns:system="clr-namespace:System;assembly=System.Runtime"

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ResizeGrip.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary
28
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
39
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/StatusBarItem.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--=================================================================
2+
Licensed to the .NET Foundation under one or more agreements.
3+
The .NET Foundation licenses this file to you under the MIT license.
4+
See the LICENSE file in the project root for more information.
5+
==================================================================-->
6+
17
<ResourceDictionary
28
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
39
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

0 commit comments

Comments
 (0)