diff --git a/src/Avalonia.Controls/Repeaters/ElementManager.cs b/src/Avalonia.Controls/Repeaters/ElementManager.cs index 2ce0ad24fa..871e0527cd 100644 --- a/src/Avalonia.Controls/Repeaters/ElementManager.cs +++ b/src/Avalonia.Controls/Repeaters/ElementManager.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; diff --git a/src/Avalonia.Controls/Repeaters/FlowLayoutAlgorithm.cs b/src/Avalonia.Controls/Repeaters/FlowLayoutAlgorithm.cs index f605bf72c8..27eef3f35e 100644 --- a/src/Avalonia.Controls/Repeaters/FlowLayoutAlgorithm.cs +++ b/src/Avalonia.Controls/Repeaters/FlowLayoutAlgorithm.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Specialized; namespace Avalonia.Controls.Repeaters diff --git a/src/Avalonia.Controls/Repeaters/IFlowLayoutAlgorithmDelegates.cs b/src/Avalonia.Controls/Repeaters/IFlowLayoutAlgorithmDelegates.cs index e27f00540c..04d715ea59 100644 --- a/src/Avalonia.Controls/Repeaters/IFlowLayoutAlgorithmDelegates.cs +++ b/src/Avalonia.Controls/Repeaters/IFlowLayoutAlgorithmDelegates.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/Avalonia.Controls/Repeaters/ItemTemplateWrapper.cs b/src/Avalonia.Controls/Repeaters/ItemTemplateWrapper.cs index 300fd11d1c..86d452742c 100644 --- a/src/Avalonia.Controls/Repeaters/ItemTemplateWrapper.cs +++ b/src/Avalonia.Controls/Repeaters/ItemTemplateWrapper.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Text; using Avalonia.Controls.Templates; diff --git a/src/Avalonia.Controls/Repeaters/ItemsRepeater.cs b/src/Avalonia.Controls/Repeaters/ItemsRepeater.cs index b0e9842d57..f5c832a9e8 100644 --- a/src/Avalonia.Controls/Repeaters/ItemsRepeater.cs +++ b/src/Avalonia.Controls/Repeaters/ItemsRepeater.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections; using System.Collections.Specialized; using Avalonia.Controls.Templates; diff --git a/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementClearingEventArgs.cs b/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementClearingEventArgs.cs index 20e62bc3b8..a6984a3e72 100644 --- a/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementClearingEventArgs.cs +++ b/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementClearingEventArgs.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; namespace Avalonia.Controls.Repeaters { diff --git a/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementIndexChangedEventArgs.cs b/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementIndexChangedEventArgs.cs index c81c997bd4..a4457a2b06 100644 --- a/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementIndexChangedEventArgs.cs +++ b/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementIndexChangedEventArgs.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; namespace Avalonia.Controls.Repeaters { diff --git a/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementPreparedEventArgs.cs b/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementPreparedEventArgs.cs index 3180058fae..12abfa155e 100644 --- a/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementPreparedEventArgs.cs +++ b/src/Avalonia.Controls/Repeaters/ItemsRepeaterElementPreparedEventArgs.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/Avalonia.Controls/Repeaters/ItemsSourceView.cs b/src/Avalonia.Controls/Repeaters/ItemsSourceView.cs index 0d21af0975..f57db0ec07 100644 --- a/src/Avalonia.Controls/Repeaters/ItemsSourceView.cs +++ b/src/Avalonia.Controls/Repeaters/ItemsSourceView.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/src/Avalonia.Controls/Repeaters/Layout.cs b/src/Avalonia.Controls/Repeaters/Layout.cs index a03e881616..d5f5b215c1 100644 --- a/src/Avalonia.Controls/Repeaters/Layout.cs +++ b/src/Avalonia.Controls/Repeaters/Layout.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; namespace Avalonia.Controls.Repeaters { diff --git a/src/Avalonia.Controls/Repeaters/LayoutContext.cs b/src/Avalonia.Controls/Repeaters/LayoutContext.cs index ce462f6a16..75ee815fc0 100644 --- a/src/Avalonia.Controls/Repeaters/LayoutContext.cs +++ b/src/Avalonia.Controls/Repeaters/LayoutContext.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/Avalonia.Controls/Repeaters/NonVirtualizingLayout.cs b/src/Avalonia.Controls/Repeaters/NonVirtualizingLayout.cs index fb8d329d7f..95a66834a0 100644 --- a/src/Avalonia.Controls/Repeaters/NonVirtualizingLayout.cs +++ b/src/Avalonia.Controls/Repeaters/NonVirtualizingLayout.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/Avalonia.Controls/Repeaters/OrientationBasedMeasures.cs b/src/Avalonia.Controls/Repeaters/OrientationBasedMeasures.cs index 2f30f4c551..6f133e6286 100644 --- a/src/Avalonia.Controls/Repeaters/OrientationBasedMeasures.cs +++ b/src/Avalonia.Controls/Repeaters/OrientationBasedMeasures.cs @@ -1,4 +1,9 @@ -namespace Avalonia.Controls.Repeaters +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +namespace Avalonia.Controls.Repeaters { internal class OrientationBasedMeasures { diff --git a/src/Avalonia.Controls/Repeaters/RecyclePool.cs b/src/Avalonia.Controls/Repeaters/RecyclePool.cs index e602a6b674..a1fa05597b 100644 --- a/src/Avalonia.Controls/Repeaters/RecyclePool.cs +++ b/src/Avalonia.Controls/Repeaters/RecyclePool.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; diff --git a/src/Avalonia.Controls/Repeaters/RepeaterLayoutContext.cs b/src/Avalonia.Controls/Repeaters/RepeaterLayoutContext.cs index 3f002c3121..c4fdc0021f 100644 --- a/src/Avalonia.Controls/Repeaters/RepeaterLayoutContext.cs +++ b/src/Avalonia.Controls/Repeaters/RepeaterLayoutContext.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Text; diff --git a/src/Avalonia.Controls/Repeaters/StackLayout.cs b/src/Avalonia.Controls/Repeaters/StackLayout.cs index 66b0be5b92..2377061d60 100644 --- a/src/Avalonia.Controls/Repeaters/StackLayout.cs +++ b/src/Avalonia.Controls/Repeaters/StackLayout.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Specialized; namespace Avalonia.Controls.Repeaters diff --git a/src/Avalonia.Controls/Repeaters/StackLayoutState.cs b/src/Avalonia.Controls/Repeaters/StackLayoutState.cs index cefaf38f3a..9ffc5be586 100644 --- a/src/Avalonia.Controls/Repeaters/StackLayoutState.cs +++ b/src/Avalonia.Controls/Repeaters/StackLayoutState.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Avalonia.Controls/Repeaters/UniformGridLayout.cs b/src/Avalonia.Controls/Repeaters/UniformGridLayout.cs index 624e477354..633f1a968d 100644 --- a/src/Avalonia.Controls/Repeaters/UniformGridLayout.cs +++ b/src/Avalonia.Controls/Repeaters/UniformGridLayout.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Specialized; namespace Avalonia.Controls.Repeaters diff --git a/src/Avalonia.Controls/Repeaters/UniformGridLayoutState.cs b/src/Avalonia.Controls/Repeaters/UniformGridLayoutState.cs index e62f64192d..0570c1dde2 100644 --- a/src/Avalonia.Controls/Repeaters/UniformGridLayoutState.cs +++ b/src/Avalonia.Controls/Repeaters/UniformGridLayoutState.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; diff --git a/src/Avalonia.Controls/Repeaters/UniqueIdElementPool.cs b/src/Avalonia.Controls/Repeaters/UniqueIdElementPool.cs index 3ad883c04b..f360c4a9f9 100644 --- a/src/Avalonia.Controls/Repeaters/UniqueIdElementPool.cs +++ b/src/Avalonia.Controls/Repeaters/UniqueIdElementPool.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections; using System.Collections.Generic; using System.Text; diff --git a/src/Avalonia.Controls/Repeaters/ViewManager.cs b/src/Avalonia.Controls/Repeaters/ViewManager.cs index 1167705b5b..3578ef0498 100644 --- a/src/Avalonia.Controls/Repeaters/ViewManager.cs +++ b/src/Avalonia.Controls/Repeaters/ViewManager.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Collections.Specialized; using Avalonia.Controls.Templates; diff --git a/src/Avalonia.Controls/Repeaters/ViewportManager.cs b/src/Avalonia.Controls/Repeaters/ViewportManager.cs index 238870644f..643ec4c87d 100644 --- a/src/Avalonia.Controls/Repeaters/ViewportManager.cs +++ b/src/Avalonia.Controls/Repeaters/ViewportManager.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Threading.Tasks; diff --git a/src/Avalonia.Controls/Repeaters/VirtualizationInfo.cs b/src/Avalonia.Controls/Repeaters/VirtualizationInfo.cs index dddf00efd0..0e33badef3 100644 --- a/src/Avalonia.Controls/Repeaters/VirtualizationInfo.cs +++ b/src/Avalonia.Controls/Repeaters/VirtualizationInfo.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; namespace Avalonia.Controls.Repeaters { diff --git a/src/Avalonia.Controls/Repeaters/VirtualizingLayout.cs b/src/Avalonia.Controls/Repeaters/VirtualizingLayout.cs index fa31095f9e..02700f716c 100644 --- a/src/Avalonia.Controls/Repeaters/VirtualizingLayout.cs +++ b/src/Avalonia.Controls/Repeaters/VirtualizingLayout.cs @@ -1,4 +1,9 @@ -using System; +// This source file is adapted from the WinUI project. +// (https://github.com/microsoft/microsoft-ui-xaml) +// +// Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. + +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Text;