diff --git a/.gitignore b/.gitignore
index e1269ff7fd7..9ef2fdcd8fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -229,6 +229,10 @@ msbuild.binlog
# Generated file from .ttinclude
**/Generated/TypeInfo.g.cs
+# Files generated by the VS build
+**/Generated Files/**
+
# TAEF Log output
WexLogFileOutput
*.wtl
+*.wtl.trace
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject/Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject.wapproj b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject.wapproj
similarity index 92%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject/Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject.wapproj
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject.wapproj
index b72dca46f0c..f60280d4c17 100644
--- a/Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject/Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject.wapproj
+++ b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject.wapproj
@@ -54,7 +54,7 @@
10.0.17763.0
en-US
false
- ..\Microsoft.Toolkit.Win32.WpfCore.SampleApp\Microsoft.Toolkit.Win32.WpfCore.SampleApp.csproj
+ ..\CommunityToolkit.Win32.WpfCore.SampleApp\CommunityToolkit.Win32.WpfCore.SampleApp.csproj
@@ -71,7 +71,7 @@
-
+
True
diff --git a/GazeInputTest/Assets/LockScreenLogo.scale-200.png b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/LockScreenLogo.scale-200.png
similarity index 100%
rename from GazeInputTest/Assets/LockScreenLogo.scale-200.png
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/LockScreenLogo.scale-200.png
diff --git a/GazeInputTest/Assets/SplashScreen.scale-200.png b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/SplashScreen.scale-200.png
similarity index 100%
rename from GazeInputTest/Assets/SplashScreen.scale-200.png
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/SplashScreen.scale-200.png
diff --git a/GazeInputTest/Assets/Square150x150Logo.scale-200.png b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/Square150x150Logo.scale-200.png
similarity index 100%
rename from GazeInputTest/Assets/Square150x150Logo.scale-200.png
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/Square150x150Logo.scale-200.png
diff --git a/GazeInputTest/Assets/Square44x44Logo.scale-200.png b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/Square44x44Logo.scale-200.png
similarity index 100%
rename from GazeInputTest/Assets/Square44x44Logo.scale-200.png
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/Square44x44Logo.scale-200.png
diff --git a/GazeInputTest/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/Square44x44Logo.targetsize-24_altform-unplated.png
similarity index 100%
rename from GazeInputTest/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/Square44x44Logo.targetsize-24_altform-unplated.png
diff --git a/GazeInputTest/Assets/StoreLogo.png b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/StoreLogo.png
similarity index 100%
rename from GazeInputTest/Assets/StoreLogo.png
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/StoreLogo.png
diff --git a/GazeInputTest/Assets/Wide310x150Logo.scale-200.png b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/Wide310x150Logo.scale-200.png
similarity index 100%
rename from GazeInputTest/Assets/Wide310x150Logo.scale-200.png
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Images/Wide310x150Logo.scale-200.png
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject/Package.appxmanifest b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Package.appxmanifest
similarity index 83%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject/Package.appxmanifest
rename to CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Package.appxmanifest
index fcf847b0e91..1aa4b0911f2 100644
--- a/Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject/Package.appxmanifest
+++ b/CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject/Package.appxmanifest
@@ -12,7 +12,7 @@
Version="1.0.0.0" />
- Microsoft.Toolkit.Win32.WpfCore.SampleApp.PackagingProject
+ CommunityToolkit.Win32.WpfCore.SampleApp.PackagingProject
aleader
Images\StoreLogo.png
@@ -31,8 +31,8 @@
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
@@ -45,7 +45,7 @@
-
+
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/App.xaml b/CommunityToolkit.Win32.WpfCore.SampleApp/App.xaml
similarity index 58%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp/App.xaml
rename to CommunityToolkit.Win32.WpfCore.SampleApp/App.xaml
index 430717fd507..f437ee58b4a 100644
--- a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/App.xaml
+++ b/CommunityToolkit.Win32.WpfCore.SampleApp/App.xaml
@@ -1,8 +1,7 @@
-
+ xmlns:local="clr-namespace:CommunityToolkit.Win32.WpfCore.SampleApp">
-
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/App.xaml.cs b/CommunityToolkit.Win32.WpfCore.SampleApp/App.xaml.cs
similarity index 98%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp/App.xaml.cs
rename to CommunityToolkit.Win32.WpfCore.SampleApp/App.xaml.cs
index 10876e99090..2c2f1fdd395 100644
--- a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/App.xaml.cs
+++ b/CommunityToolkit.Win32.WpfCore.SampleApp/App.xaml.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System.Windows;
-using Microsoft.Toolkit.Uwp.Notifications;
+using CommunityToolkit.WinUI.Notifications;
-namespace Microsoft.Toolkit.Win32.WpfCore.SampleApp
+namespace CommunityToolkit.Win32.WpfCore.SampleApp
{
///
/// Interaction logic for App.xaml
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/AssemblyInfo.cs b/CommunityToolkit.Win32.WpfCore.SampleApp/AssemblyInfo.cs
similarity index 100%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp/AssemblyInfo.cs
rename to CommunityToolkit.Win32.WpfCore.SampleApp/AssemblyInfo.cs
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/Microsoft.Toolkit.Win32.WpfCore.SampleApp.csproj b/CommunityToolkit.Win32.WpfCore.SampleApp/CommunityToolkit.Win32.WpfCore.SampleApp.csproj
similarity index 77%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp/Microsoft.Toolkit.Win32.WpfCore.SampleApp.csproj
rename to CommunityToolkit.Win32.WpfCore.SampleApp/CommunityToolkit.Win32.WpfCore.SampleApp.csproj
index 4a6de004eaf..59caaed02c5 100644
--- a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/Microsoft.Toolkit.Win32.WpfCore.SampleApp.csproj
+++ b/CommunityToolkit.Win32.WpfCore.SampleApp/CommunityToolkit.Win32.WpfCore.SampleApp.csproj
@@ -8,7 +8,7 @@
-
+
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/MainWindow.xaml b/CommunityToolkit.Win32.WpfCore.SampleApp/MainWindow.xaml
similarity index 93%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp/MainWindow.xaml
rename to CommunityToolkit.Win32.WpfCore.SampleApp/MainWindow.xaml
index 62369e876d7..3c307623922 100644
--- a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/MainWindow.xaml
+++ b/CommunityToolkit.Win32.WpfCore.SampleApp/MainWindow.xaml
@@ -1,9 +1,9 @@
-
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/MainWindow.xaml.cs b/CommunityToolkit.Win32.WpfCore.SampleApp/MainWindow.xaml.cs
similarity index 98%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp/MainWindow.xaml.cs
rename to CommunityToolkit.Win32.WpfCore.SampleApp/MainWindow.xaml.cs
index 98102dc930a..eb35bd11e13 100644
--- a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/MainWindow.xaml.cs
+++ b/CommunityToolkit.Win32.WpfCore.SampleApp/MainWindow.xaml.cs
@@ -10,11 +10,11 @@
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
-using Microsoft.Toolkit.Uwp.Notifications;
+using CommunityToolkit.WinUI.Notifications;
using Windows.Services.Maps;
using Windows.UI.Notifications;
-namespace Microsoft.Toolkit.Win32.WpfCore.SampleApp
+namespace CommunityToolkit.Win32.WpfCore.SampleApp
{
///
/// Interaction logic for MainWindow.xaml
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/MyToastActions.cs b/CommunityToolkit.Win32.WpfCore.SampleApp/MyToastActions.cs
similarity index 92%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp/MyToastActions.cs
rename to CommunityToolkit.Win32.WpfCore.SampleApp/MyToastActions.cs
index d9ded034dd7..2b57e81e7f7 100644
--- a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/MyToastActions.cs
+++ b/CommunityToolkit.Win32.WpfCore.SampleApp/MyToastActions.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Win32.WpfCore.SampleApp
+namespace CommunityToolkit.Win32.WpfCore.SampleApp
{
public enum MyToastActions
{
diff --git a/Microsoft.Toolkit.Win32.WpfCore.SampleApp/ToolkitIcon.ico b/CommunityToolkit.Win32.WpfCore.SampleApp/ToolkitIcon.ico
similarity index 100%
rename from Microsoft.Toolkit.Win32.WpfCore.SampleApp/ToolkitIcon.ico
rename to CommunityToolkit.Win32.WpfCore.SampleApp/ToolkitIcon.ico
diff --git a/Microsoft.Toolkit.Win32/ReadMe.md b/CommunityToolkit.Win32/ReadMe.md
similarity index 100%
rename from Microsoft.Toolkit.Win32/ReadMe.md
rename to CommunityToolkit.Win32/ReadMe.md
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/BluetoothLEHelper.cs b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/BluetoothLEHelper.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/BluetoothLEHelper.cs
rename to CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/BluetoothLEHelper.cs
index c4d953f95d8..e5e49d725bc 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/BluetoothLEHelper.cs
+++ b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/BluetoothLEHelper.cs
@@ -8,12 +8,12 @@
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
+using Microsoft.UI.Dispatching;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.Advertisement;
using Windows.Devices.Enumeration;
-using Windows.System;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// Context for the entire app. This is where all app wide variables are stored
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattConvert.cs b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattConvert.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattConvert.cs
rename to CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattConvert.cs
index 658c4b22209..0d1c8eac2c3 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattConvert.cs
+++ b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattConvert.cs
@@ -7,7 +7,7 @@
using Windows.Security.Cryptography;
using Windows.Storage.Streams;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// Extension methods for Gatt Convert.
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattNativeUuid.cs b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattNativeUuid.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattNativeUuid.cs
rename to CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattNativeUuid.cs
index c651696d7bc..1ea0164a8d3 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattNativeUuid.cs
+++ b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattNativeUuid.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// This enum assists in finding a string representation of a BT SIG assigned value for UUIDS
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattProtocolErrorParser.cs b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattProtocolErrorParser.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattProtocolErrorParser.cs
rename to CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattProtocolErrorParser.cs
index aa76899f352..3995e6d6cec 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattProtocolErrorParser.cs
+++ b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattProtocolErrorParser.cs
@@ -4,7 +4,7 @@
using Windows.Devices.Bluetooth.GenericAttributeProfile;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// Helper function when working with
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattUuidsService.cs b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattUuidsService.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattUuidsService.cs
rename to CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattUuidsService.cs
index d6978b8f448..8169945e048 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/GattUuidsService.cs
+++ b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/GattUuidsService.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// Helper class used when working with UUIDs
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableBluetoothLEDevice.cs b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableBluetoothLEDevice.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableBluetoothLEDevice.cs
rename to CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableBluetoothLEDevice.cs
index c2c3f1ba2d7..e036c8f81c4 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableBluetoothLEDevice.cs
+++ b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableBluetoothLEDevice.cs
@@ -11,19 +11,19 @@
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
+using Microsoft.UI.Dispatching;
+using Microsoft.UI.Xaml.Media.Imaging;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Devices.Enumeration;
-using Windows.System;
-using Windows.UI.Xaml.Media.Imaging;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// Wrapper around to make it bindable.
///
- ///
- ///
+ ///
+ ///
public class ObservableBluetoothLEDevice : INotifyPropertyChanged, IEquatable
{
///
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableGattCharacteristics.cs b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableGattCharacteristics.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableGattCharacteristics.cs
rename to CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableGattCharacteristics.cs
index 16b3c929ad9..be2aa0aa346 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableGattCharacteristics.cs
+++ b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableGattCharacteristics.cs
@@ -7,13 +7,13 @@
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
+using Microsoft.UI.Dispatching;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Security.Cryptography;
using Windows.Storage.Streams;
-using Windows.System;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// Wrapper around to make it easier to use
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableGattDeviceService.cs b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableGattDeviceService.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableGattDeviceService.cs
rename to CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableGattDeviceService.cs
index 7ddd6543090..ed1a1700381 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper/ObservableGattDeviceService.cs
+++ b/CommunityToolkit.WinUI.Connectivity/BluetoothLEHelper/ObservableGattDeviceService.cs
@@ -11,7 +11,7 @@
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// Wrapper around to make it easier to use
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/Microsoft.Toolkit.Uwp.Connectivity.csproj b/CommunityToolkit.WinUI.Connectivity/CommunityToolkit.WinUI.Connectivity.csproj
similarity index 70%
rename from Microsoft.Toolkit.Uwp.Connectivity/Microsoft.Toolkit.Uwp.Connectivity.csproj
rename to CommunityToolkit.WinUI.Connectivity/CommunityToolkit.WinUI.Connectivity.csproj
index 4cd3b1c28d4..7597a6eb675 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/Microsoft.Toolkit.Uwp.Connectivity.csproj
+++ b/CommunityToolkit.WinUI.Connectivity/CommunityToolkit.WinUI.Connectivity.csproj
@@ -1,7 +1,7 @@
-
+
- uap10.0.17763
+ net5.0-windows10.0.18362.0
@@ -11,7 +11,7 @@
-
+
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/Network/ConnectionInformation.cs b/CommunityToolkit.WinUI.Connectivity/Network/ConnectionInformation.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.Connectivity/Network/ConnectionInformation.cs
rename to CommunityToolkit.WinUI.Connectivity/Network/ConnectionInformation.cs
index 2e89c465442..c0840e45ca3 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/Network/ConnectionInformation.cs
+++ b/CommunityToolkit.WinUI.Connectivity/Network/ConnectionInformation.cs
@@ -9,7 +9,7 @@
using System.Threading.Tasks;
using Windows.Networking.Connectivity;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// This class exposes information about the network connectivity.
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/Network/ConnectionType.cs b/CommunityToolkit.WinUI.Connectivity/Network/ConnectionType.cs
similarity index 94%
rename from Microsoft.Toolkit.Uwp.Connectivity/Network/ConnectionType.cs
rename to CommunityToolkit.WinUI.Connectivity/Network/ConnectionType.cs
index 39a39aadde2..7be15f59f89 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/Network/ConnectionType.cs
+++ b/CommunityToolkit.WinUI.Connectivity/Network/ConnectionType.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// Enumeration denoting connection type.
diff --git a/Microsoft.Toolkit.Uwp.Connectivity/Network/NetworkHelper.cs b/CommunityToolkit.WinUI.Connectivity/Network/NetworkHelper.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.Connectivity/Network/NetworkHelper.cs
rename to CommunityToolkit.WinUI.Connectivity/Network/NetworkHelper.cs
index 42f4ca1c0e8..2d092786e6a 100644
--- a/Microsoft.Toolkit.Uwp.Connectivity/Network/NetworkHelper.cs
+++ b/CommunityToolkit.WinUI.Connectivity/Network/NetworkHelper.cs
@@ -5,7 +5,7 @@
using System;
using Windows.Networking.Connectivity;
-namespace Microsoft.Toolkit.Uwp.Connectivity
+namespace CommunityToolkit.WinUI.Connectivity
{
///
/// This class exposes functionality of NetworkInformation through a singleton.
diff --git a/Microsoft.Toolkit.Uwp.DeveloperTools/AlignmentGrid/AlignmentGrid.cs b/CommunityToolkit.WinUI.DeveloperTools/AlignmentGrid/AlignmentGrid.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.DeveloperTools/AlignmentGrid/AlignmentGrid.cs
rename to CommunityToolkit.WinUI.DeveloperTools/AlignmentGrid/AlignmentGrid.cs
index 2bd15eec6d4..3149dfc4d93 100644
--- a/Microsoft.Toolkit.Uwp.DeveloperTools/AlignmentGrid/AlignmentGrid.cs
+++ b/CommunityToolkit.WinUI.DeveloperTools/AlignmentGrid/AlignmentGrid.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Shapes;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Controls;
+using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Shapes;
-namespace Microsoft.Toolkit.Uwp.DeveloperTools
+namespace CommunityToolkit.WinUI.DeveloperTools
{
///
/// AlignmentGrid is used to display a grid to help aligning controls
diff --git a/Microsoft.Toolkit.Uwp.DeveloperTools/Microsoft.Toolkit.Uwp.DeveloperTools.csproj b/CommunityToolkit.WinUI.DeveloperTools/CommunityToolkit.WinUI.DeveloperTools.csproj
similarity index 89%
rename from Microsoft.Toolkit.Uwp.DeveloperTools/Microsoft.Toolkit.Uwp.DeveloperTools.csproj
rename to CommunityToolkit.WinUI.DeveloperTools/CommunityToolkit.WinUI.DeveloperTools.csproj
index c5d5838785f..215aa80e50c 100644
--- a/Microsoft.Toolkit.Uwp.DeveloperTools/Microsoft.Toolkit.Uwp.DeveloperTools.csproj
+++ b/CommunityToolkit.WinUI.DeveloperTools/CommunityToolkit.WinUI.DeveloperTools.csproj
@@ -1,7 +1,7 @@
-
+
- uap10.0.17763
+ net5.0-windows10.0.18362.0
diff --git a/Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker/FocusTracker.cs b/CommunityToolkit.WinUI.DeveloperTools/FocusTracker/FocusTracker.cs
similarity index 92%
rename from Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker/FocusTracker.cs
rename to CommunityToolkit.WinUI.DeveloperTools/FocusTracker/FocusTracker.cs
index 29f36a3e197..0c53fc69752 100644
--- a/Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker/FocusTracker.cs
+++ b/CommunityToolkit.WinUI.DeveloperTools/FocusTracker/FocusTracker.cs
@@ -7,16 +7,16 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
-using Windows.System;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Automation;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Shapes;
-
-namespace Microsoft.Toolkit.Uwp.DeveloperTools
+using Microsoft.UI.Dispatching;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Automation;
+using Microsoft.UI.Xaml.Controls;
+using Microsoft.UI.Xaml.Controls.Primitives;
+using Microsoft.UI.Xaml.Input;
+using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Shapes;
+
+namespace CommunityToolkit.WinUI.DeveloperTools
{
///
/// FocusTracker can be used to display information about the current focused XAML element.
@@ -83,7 +83,7 @@ protected override void OnApplyTemplate()
private void Start()
{
// Get currently focused control once when we start
- if (Windows.Foundation.Metadata.ApiInformation.IsPropertyPresent("Windows.UI.Xaml.UIElement", "XamlRoot") && XamlRoot != null)
+ if (XamlRoot != null)
{
FocusOnControl(FocusManager.GetFocusedElement(XamlRoot) as FrameworkElement);
}
diff --git a/Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker/FocusTracker.xaml b/CommunityToolkit.WinUI.DeveloperTools/FocusTracker/FocusTracker.xaml
similarity index 97%
rename from Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker/FocusTracker.xaml
rename to CommunityToolkit.WinUI.DeveloperTools/FocusTracker/FocusTracker.xaml
index 5eaa0f345b8..85c53b9cf1d 100644
--- a/Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker/FocusTracker.xaml
+++ b/CommunityToolkit.WinUI.DeveloperTools/FocusTracker/FocusTracker.xaml
@@ -1,6 +1,6 @@
+ xmlns:developerTools="using:CommunityToolkit.WinUI.DeveloperTools">
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Uwp.SampleApp/Styles/GithubIcon.xaml b/CommunityToolkit.WinUI.SampleApp/Styles/GithubIcon.xaml
similarity index 97%
rename from Microsoft.Toolkit.Uwp.SampleApp/Styles/GithubIcon.xaml
rename to CommunityToolkit.WinUI.SampleApp/Styles/GithubIcon.xaml
index 98c18bd2bc0..6eb2fdf8690 100644
--- a/Microsoft.Toolkit.Uwp.SampleApp/Styles/GithubIcon.xaml
+++ b/CommunityToolkit.WinUI.SampleApp/Styles/GithubIcon.xaml
@@ -1,6 +1,6 @@
+ xmlns:local="using:CommunityToolkit.WinUI.SampleApp.Styles">
M21.7999992370605,0L19.220495223999,0.26007080078125 16.81787109375,1.00595712661743 14.6436157226563,2.18616962432861 12.7492189407349,3.74921894073486 11.1861696243286,5.64361572265625 10.0059566497803,7.81787109375 9.26007080078125,10.2204961776733 9,12.8000001907349 9.65248012542725,16.8459720611572 11.4694375991821,20.3591785430908 14.2401514053345,23.1291217803955 17.7539005279541,24.9453010559082 18.4305686950684,24.8080005645752 18.6273498535156,24.3296756744385 18.6207065582275,23.4247951507568 18.609375,21.9468746185303 16.4340572357178,22.0373229980469 15.1187467575073,21.4822216033936 14.4708204269409,20.7821025848389 14.2976503372192,20.4375 13.8297338485718,19.5214366912842 13.3685493469238,18.947265625 12.8765497207642,18.5656261444092 12.3995819091797,18.1091804504395 12.4844465255737,17.87890625 12.7874250411987,17.7974605560303 12.9647998809814,17.7875003814697 13.8134965896606,18.0311241149902 14.4276065826416,18.4802703857422 14.8007507324219,18.9127178192139 14.926549911499,19.1062507629395 15.8880548477173,20.1437015533447 16.9443283081055,20.494140625 17.9229640960693,20.416259765625 18.6515502929688,20.1687507629395 18.9645938873291,19.1242198944092 19.4640502929688,18.4593753814697 17.3543262481689,18.0241260528564 15.4833002090454,17.014066696167 14.1450357437134,15.1450166702271 13.6336002349854,12.1328001022339 13.9853601455688,10.2268438339233 14.9500007629395,8.69764995574951 14.7027282714844,7.54188776016235 14.7441072463989,6.53565359115601 15.0765495300293,5.30859994888306 15.2825078964233,5.28076791763306 15.9191312789917,5.34375619888306 17.0145378112793,5.71729135513306 18.596851348877,6.62109994888306 21.799976348877,6.19062519073486 25.004674911499,6.62265014648438 26.5845413208008,5.71818733215332 27.6791000366211,5.34472513198853 28.315746307373,5.28210020065308 28.5218753814697,5.31015014648438 28.8556652069092,6.53784370422363 28.8976573944092,7.5438346862793 28.6499996185303,8.69764995574951 29.6154251098633,10.2268533706665 29.9656257629395,12.1328001022339 29.453296661377,15.1497011184692 28.1123065948486,17.0164012908936 26.2366523742676,18.020601272583 24.120325088501,18.4500007629395 24.7275562286377,19.3355484008789 24.9890747070313,20.8187503814697 24.9804744720459,23.0584030151367 24.9718742370605,24.3312511444092 25.1693305969238,24.8128852844238 25.8531246185303,24.9453010559082 29.3641395568848,23.1273632049561 32.1326217651367,20.3568344116211 33.948070526123,16.8442134857178 34.5999984741211,12.8000001907349 34.3399276733398,10.2204961776733 33.5940399169922,7.81787109375 32.4138298034668,5.64361572265625 30.8507804870605,3.74921894073486 28.9563827514648,2.18616962432861 26.7821273803711,1.00595712661743 24.3795032501221,0.26007080078125 21.7999992370605,0z
diff --git a/Microsoft.Toolkit.Uwp.SampleApp/Styles/ThemeInjector.cs b/CommunityToolkit.WinUI.SampleApp/Styles/ThemeInjector.cs
similarity index 85%
rename from Microsoft.Toolkit.Uwp.SampleApp/Styles/ThemeInjector.cs
rename to CommunityToolkit.WinUI.SampleApp/Styles/ThemeInjector.cs
index c0a595ac3c4..0b3edc8d27f 100644
--- a/Microsoft.Toolkit.Uwp.SampleApp/Styles/ThemeInjector.cs
+++ b/CommunityToolkit.WinUI.SampleApp/Styles/ThemeInjector.cs
@@ -2,11 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media;
+using System.Linq;
+using Microsoft.UI;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Media;
-namespace Microsoft.Toolkit.Uwp.SampleApp.Styles
+namespace CommunityToolkit.WinUI.SampleApp.Styles
{
public static class ThemeInjector
{
@@ -16,7 +17,7 @@ public static class ThemeInjector
public static void InjectThemeResources(ResourceDictionary dict)
{
- var themes = dict.MergedDictionaries[0];
+ var themes = dict.MergedDictionaries.FirstOrDefault(d => d.Source.AbsoluteUri.Contains("Themes.xaml"));
darkTheme = themes.ThemeDictionaries["Dark"] as ResourceDictionary;
lightTheme = themes.ThemeDictionaries["Light"] as ResourceDictionary;
@@ -27,14 +28,14 @@ public static void InjectThemeResources(ResourceDictionary dict)
{
TintColor = Helpers.ColorHelper.ToColor("#FF333333"),
TintOpacity = 0.8,
- BackgroundSource = AcrylicBackgroundSource.Backdrop,
+ // BackgroundSource = AcrylicBackgroundSource.Backdrop,
FallbackColor = Helpers.ColorHelper.ToColor("#FF333333")
},
LightAcrylic = new AcrylicBrush
{
TintColor = Colors.White,
TintOpacity = 0.8,
- BackgroundSource = AcrylicBackgroundSource.Backdrop,
+ // BackgroundSource = AcrylicBackgroundSource.Backdrop,
FallbackColor = Colors.White
}
});
@@ -46,14 +47,14 @@ public static void InjectThemeResources(ResourceDictionary dict)
{
TintColor = Helpers.ColorHelper.ToColor("#FF111111"),
TintOpacity = 0.7,
- BackgroundSource = AcrylicBackgroundSource.Backdrop,
+ // BackgroundSource = AcrylicBackgroundSource.Backdrop,
FallbackColor = Helpers.ColorHelper.ToColor("#FF111111")
},
LightAcrylic = new AcrylicBrush
{
TintColor = Helpers.ColorHelper.ToColor("#FFDDDDDD"),
TintOpacity = 0.6,
- BackgroundSource = AcrylicBackgroundSource.Backdrop,
+ // BackgroundSource = AcrylicBackgroundSource.Backdrop,
FallbackColor = Helpers.ColorHelper.ToColor("#FFDDDDDD")
}
});
diff --git a/Microsoft.Toolkit.Uwp.SampleApp/Styles/Themes.xaml b/CommunityToolkit.WinUI.SampleApp/Styles/Themes.xaml
similarity index 100%
rename from Microsoft.Toolkit.Uwp.SampleApp/Styles/Themes.xaml
rename to CommunityToolkit.WinUI.SampleApp/Styles/Themes.xaml
diff --git a/Microsoft.Toolkit.Uwp.SampleApp/TrackingManager.cs b/CommunityToolkit.WinUI.SampleApp/TrackingManager.cs
similarity index 63%
rename from Microsoft.Toolkit.Uwp.SampleApp/TrackingManager.cs
rename to CommunityToolkit.WinUI.SampleApp/TrackingManager.cs
index 7dc442f5237..ce30bf62841 100644
--- a/Microsoft.Toolkit.Uwp.SampleApp/TrackingManager.cs
+++ b/CommunityToolkit.WinUI.SampleApp/TrackingManager.cs
@@ -3,19 +3,22 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.Services.Store.Engagement;
+using System.Diagnostics;
-namespace Microsoft.Toolkit.Uwp.SampleApp
+// using Microsoft.Services.Store.Engagement;
+namespace CommunityToolkit.WinUI.SampleApp
{
public static class TrackingManager
{
+ /*
private static StoreServicesCustomEventLogger logger;
+ */
static TrackingManager()
{
try
{
- logger = StoreServicesCustomEventLogger.GetDefault();
+ // logger = StoreServicesCustomEventLogger.GetDefault();
}
catch
{
@@ -27,7 +30,8 @@ public static void TrackException(Exception ex)
{
try
{
- logger.Log($"exception - {ex.Message} - {ex.StackTrace}");
+ // logger.Log($"exception - {ex.Message} - {ex.StackTrace}");
+ Debug.WriteLine($"exception - {ex.Message} - {ex.StackTrace}");
}
catch
{
@@ -39,7 +43,8 @@ public static void TrackEvent(string category, string action, string label = "",
{
try
{
- logger.Log($"{category} - {action} - {label} - {value.ToString()}");
+ // logger.Log($"{category} - {action} - {label} - {value.ToString()}");
+ Debug.WriteLine($"{category} - {action} - {label} - {value.ToString()}");
}
catch
{
@@ -51,7 +56,8 @@ public static void TrackPage(string pageName)
{
try
{
- logger.Log($"pageView - {pageName}");
+ // logger.Log($"pageView - {pageName}");
+ Debug.WriteLine($"pageView - {pageName}");
}
catch
{
diff --git a/CommunityToolkit.WinUI.SampleApp/app.manifest b/CommunityToolkit.WinUI.SampleApp/app.manifest
new file mode 100644
index 00000000000..742cba17bd0
--- /dev/null
+++ b/CommunityToolkit.WinUI.SampleApp/app.manifest
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+ true/PM
+ PerMonitorV2, PerMonitor
+
+
+
diff --git a/Microsoft.Toolkit.Uwp.SampleApp/landingPageLinks.json b/CommunityToolkit.WinUI.SampleApp/landingPageLinks.json
similarity index 95%
rename from Microsoft.Toolkit.Uwp.SampleApp/landingPageLinks.json
rename to CommunityToolkit.WinUI.SampleApp/landingPageLinks.json
index 0f580115db2..660b641fa8e 100644
--- a/Microsoft.Toolkit.Uwp.SampleApp/landingPageLinks.json
+++ b/CommunityToolkit.WinUI.SampleApp/landingPageLinks.json
@@ -97,8 +97,8 @@
"url": "https://github.com/hawkerm/monaco-editor-uwp"
},
{
- "title": "Background photo: Wrenches Photo by NeONBRAND on Unsplash",
- "url": "https://unsplash.com/photos/60krlMMeWxU"
+ "title": "Background photo: Elevator by Michel Paz on Unsplash",
+ "url": "https://unsplash.com/photos/Nsn_NDZDX7U"
}
]
}
diff --git a/CommunityToolkit.WinUI.Samples.BackgroundTasks/CommunityToolkit.WinUI.Samples.BackgroundTasks.csproj b/CommunityToolkit.WinUI.Samples.BackgroundTasks/CommunityToolkit.WinUI.Samples.BackgroundTasks.csproj
new file mode 100644
index 00000000000..4a16e8f8700
--- /dev/null
+++ b/CommunityToolkit.WinUI.Samples.BackgroundTasks/CommunityToolkit.WinUI.Samples.BackgroundTasks.csproj
@@ -0,0 +1,36 @@
+
+
+
+ net5.0-windows10.0.19041.0
+ 19041
+ 10.0.17763.0
+
+ CommunityToolkit.WinUI.Samples.BackgroundTasks
+
+ x86;x64;arm64
+ win10-x86;win10-x64;win10-arm64
+
+ 9.0
+ $(NoWarn);CS0108
+
+ false
+
+ true
+ 10.0.19041.0
+
+
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Uwp.SampleApp/Properties/AssemblyInfo.cs b/CommunityToolkit.WinUI.Samples.BackgroundTasks/Properties/AssemblyInfo.cs
similarity index 68%
rename from Microsoft.Toolkit.Uwp.SampleApp/Properties/AssemblyInfo.cs
rename to CommunityToolkit.WinUI.Samples.BackgroundTasks/Properties/AssemblyInfo.cs
index aa67199c9ab..5044e014b1a 100644
--- a/Microsoft.Toolkit.Uwp.SampleApp/Properties/AssemblyInfo.cs
+++ b/CommunityToolkit.WinUI.Samples.BackgroundTasks/Properties/AssemblyInfo.cs
@@ -8,12 +8,7 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("Microsoft.Toolkit.Uwp.SampleApp")]
[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany(".NET Foundation")]
-[assembly: AssemblyProduct("Microsoft.Toolkit.Uwp.SampleApp")]
-[assembly: AssemblyCopyright("Copyright © 2016-2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
diff --git a/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks/TestBackgroundTask.cs b/CommunityToolkit.WinUI.Samples.BackgroundTasks/TestBackgroundTask.cs
similarity index 92%
rename from Microsoft.Toolkit.Uwp.Samples.BackgroundTasks/TestBackgroundTask.cs
rename to CommunityToolkit.WinUI.Samples.BackgroundTasks/TestBackgroundTask.cs
index 91d58d497c2..fe6b41a058d 100644
--- a/Microsoft.Toolkit.Uwp.Samples.BackgroundTasks/TestBackgroundTask.cs
+++ b/CommunityToolkit.WinUI.Samples.BackgroundTasks/TestBackgroundTask.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.Toolkit.Uwp.Notifications;
+using CommunityToolkit.WinUI.Notifications;
using Windows.ApplicationModel.Background;
using Windows.UI.Notifications;
-namespace Microsoft.Toolkit.Uwp.Samples.BackgroundTasks
+namespace CommunityToolkit.WinUI.Samples.BackgroundTasks
{
public sealed class TestBackgroundTask : IBackgroundTask
{
diff --git a/CommunityToolkit.WinUI.Samples.BackgroundTasks/WinRT.Host.runtimeconfig.json b/CommunityToolkit.WinUI.Samples.BackgroundTasks/WinRT.Host.runtimeconfig.json
new file mode 100644
index 00000000000..957b748b1d6
--- /dev/null
+++ b/CommunityToolkit.WinUI.Samples.BackgroundTasks/WinRT.Host.runtimeconfig.json
@@ -0,0 +1,10 @@
+{
+ "runtimeOptions": {
+ "tfm": "net5.0",
+ "rollForward": "LatestMinor",
+ "framework": {
+ "name": "Microsoft.NETCore.App",
+ "version": "5.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Default.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Default.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Default.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Default.cs
index 7559f906855..139ea89c08c 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Default.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Default.cs
@@ -6,13 +6,13 @@
using System;
using System.Numerics;
-using Windows.UI.Composition;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Media.Animation;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Media.Animation;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
public sealed partial class AnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.External.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.External.cs
similarity index 95%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.External.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.External.cs
index 0504c8d0d72..f21fd0d72dc 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.External.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.External.cs
@@ -4,10 +4,10 @@
#nullable enable
-using Windows.UI.Composition;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
public sealed partial class AnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Factories.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Factories.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Factories.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Factories.cs
index 738589924da..3e28d1f9e59 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Factories.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Factories.cs
@@ -6,16 +6,16 @@
using System.Diagnostics.Contracts;
using System.Numerics;
using System.Runtime.CompilerServices;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Media.Animation;
using Windows.Foundation;
using Windows.UI;
-using Windows.UI.Composition;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Media.Animation;
#nullable enable
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
public sealed partial class AnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.KeyFrames.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.KeyFrames.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.KeyFrames.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.KeyFrames.cs
index 637dee6afd9..d12dbd53092 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.KeyFrames.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.KeyFrames.cs
@@ -6,11 +6,11 @@
using System;
using System.Numerics;
-using Windows.UI.Composition;
-using Windows.UI.Xaml.Media;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml.Media;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
public sealed partial class AnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.PropertyBuilders.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.PropertyBuilders.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.PropertyBuilders.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.PropertyBuilders.cs
index 393777a6e2c..5c7efd4ef65 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.PropertyBuilders.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.PropertyBuilders.cs
@@ -3,15 +3,15 @@
// See the LICENSE file in the project root for more information.
using System;
-using Windows.UI.Composition;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Media.Animation;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Media.Animation;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
#nullable enable
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
public sealed partial class AnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Setup.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Setup.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Setup.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Setup.cs
index e5b83d52411..ae225dc4abf 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.Setup.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.Setup.cs
@@ -4,10 +4,10 @@
using System;
using System.Collections.Generic;
-using Windows.UI.Xaml.Media.Animation;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using Microsoft.UI.Xaml.Media.Animation;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// A that allows to build custom animations targeting both the XAML and composition layers.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.cs
index fad283ae850..c865383e519 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/AnimationBuilder.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/AnimationBuilder.cs
@@ -10,12 +10,12 @@
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
-using Windows.UI.Composition;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Hosting;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Hosting;
+using Microsoft.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// A that allows to build custom animations targeting both the XAML and composition layers.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Helpers/ListBuilder{T}.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/Helpers/ListBuilder{T}.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/Helpers/ListBuilder{T}.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/Helpers/ListBuilder{T}.cs
index 1fe00ef9367..251f5e2f7fd 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Helpers/ListBuilder{T}.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/Helpers/ListBuilder{T}.cs
@@ -6,7 +6,7 @@
using System.Diagnostics.Contracts;
using System.Runtime.CompilerServices;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Builders.Helpers
+namespace CommunityToolkit.WinUI.UI.Animations.Builders.Helpers
{
///
/// A small generic builder type that allows to create instances.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/IKeyFrameInfo.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/IKeyFrameInfo.cs
similarity index 95%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/IKeyFrameInfo.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/IKeyFrameInfo.cs
index c473f1f6f97..93e152e0f31 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/IKeyFrameInfo.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/IKeyFrameInfo.cs
@@ -4,10 +4,10 @@
using System;
using System.Diagnostics.Contracts;
-using Windows.UI.Composition;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An interface representing a generic model containing info for an abstract keyframe.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/INormalizedKeyFrameAnimationBuilder{T}.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/INormalizedKeyFrameAnimationBuilder{T}.cs
similarity index 88%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/INormalizedKeyFrameAnimationBuilder{T}.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/INormalizedKeyFrameAnimationBuilder{T}.cs
index 18fbfe86d0f..92609ce57f1 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/INormalizedKeyFrameAnimationBuilder{T}.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/INormalizedKeyFrameAnimationBuilder{T}.cs
@@ -2,10 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Xaml.Media.Animation;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using Microsoft.UI.Xaml.Media.Animation;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An interface for an animation builder using normalized keyframes.
@@ -36,7 +36,7 @@ INormalizedKeyFrameAnimationBuilder KeyFrame(
/// The easing type to use to reach the new keyframe.
/// The easing mode to use to reach the new keyframe.
/// The same instance that the method was invoked upon.
- /// Thrown when the animation being built targets the XAML layer.
+ /// Thrown when the animation being built targets the XAML layer.
INormalizedKeyFrameAnimationBuilder ExpressionKeyFrame(
double progress,
string expression,
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/IPropertyAnimationBuilder{T}.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/IPropertyAnimationBuilder{T}.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/IPropertyAnimationBuilder{T}.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/IPropertyAnimationBuilder{T}.cs
index 1dbf634135e..84e7087aaae 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/IPropertyAnimationBuilder{T}.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/IPropertyAnimationBuilder{T}.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System;
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An animation for an animation builder using keyframes, targeting a specific property.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/ITimedKeyFrameAnimationBuilder{T}.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/ITimedKeyFrameAnimationBuilder{T}.cs
similarity index 93%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/ITimedKeyFrameAnimationBuilder{T}.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/ITimedKeyFrameAnimationBuilder{T}.cs
index 0ff5eae4991..8a6bd476cf4 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/Interfaces/ITimedKeyFrameAnimationBuilder{T}.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/Interfaces/ITimedKeyFrameAnimationBuilder{T}.cs
@@ -3,10 +3,10 @@
// See the LICENSE file in the project root for more information.
using System;
-using Windows.UI.Xaml.Media.Animation;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using Microsoft.UI.Xaml.Media.Animation;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An interface for an animation builder using timed keyframes.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Composition.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Composition.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Composition.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Composition.cs
index a5356ea33f3..c457bd4b89b 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Composition.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Composition.cs
@@ -4,13 +4,13 @@
using System;
using System.Numerics;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml.Media.Animation;
using Windows.UI;
-using Windows.UI.Composition;
-using Windows.UI.Xaml.Media.Animation;
#nullable enable
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
internal abstract partial class NormalizedKeyFrameAnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Xaml.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Xaml.cs
similarity index 95%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Xaml.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Xaml.cs
index 25bf30f32b8..123c291895f 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Xaml.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.Xaml.cs
@@ -3,10 +3,10 @@
// See the LICENSE file in the project root for more information.
using System;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
internal abstract partial class NormalizedKeyFrameAnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.cs
index 0ac3d03dc08..0f6ef58beb9 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/NormalizedKeyFrameAnimationBuilder{T}.cs
@@ -4,13 +4,13 @@
using System;
using System.Runtime.CompilerServices;
-using Microsoft.Toolkit.Uwp.UI.Animations.Builders.Helpers;
-using Windows.UI.Composition;
-using Windows.UI.Xaml.Media.Animation;
+using CommunityToolkit.WinUI.UI.Animations.Builders.Helpers;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml.Media.Animation;
#nullable enable
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// A generic keyframe animation builder.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Composition.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Composition.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Composition.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Composition.cs
index f94ca2e4a1e..9409c363ecd 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Composition.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Composition.cs
@@ -3,12 +3,12 @@
// See the LICENSE file in the project root for more information.
using System;
-using Windows.UI.Composition;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml.Media.Animation;
#nullable enable
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
internal abstract partial class TimedKeyFrameAnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Xaml.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Xaml.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Xaml.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Xaml.cs
index 8d7c91d0920..70bca593e7c 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Xaml.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.Xaml.cs
@@ -3,12 +3,12 @@
// See the LICENSE file in the project root for more information.
using System;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Media.Animation;
using Windows.Foundation;
using Windows.UI;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
internal abstract partial class TimedKeyFrameAnimationBuilder
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.cs b/CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.cs
rename to CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.cs
index e150db28db8..21ca1d4b134 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Builders/TimedKeyFrameAnimationBuilder{T}.cs
@@ -4,13 +4,13 @@
using System;
using System.Runtime.CompilerServices;
-using Microsoft.Toolkit.Uwp.UI.Animations.Builders.Helpers;
-using Windows.UI.Composition;
-using Windows.UI.Xaml.Media.Animation;
+using CommunityToolkit.WinUI.UI.Animations.Builders.Helpers;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml.Media.Animation;
#nullable enable
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// A generic keyframe animation builder.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Microsoft.Toolkit.Uwp.UI.Animations.csproj b/CommunityToolkit.WinUI.UI.Animations/CommunityToolkit.WinUI.UI.Animations.csproj
similarity index 86%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Microsoft.Toolkit.Uwp.UI.Animations.csproj
rename to CommunityToolkit.WinUI.UI.Animations/CommunityToolkit.WinUI.UI.Animations.csproj
index 130fdd806ef..849e0c785ac 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Microsoft.Toolkit.Uwp.UI.Animations.csproj
+++ b/CommunityToolkit.WinUI.UI.Animations/CommunityToolkit.WinUI.UI.Animations.csproj
@@ -1,7 +1,7 @@
-
+
- uap10.0.17763
+ net5.0-windows10.0.18362.0
true
@@ -22,7 +22,7 @@
-
+
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/Connected.cs b/CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/Connected.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/Connected.cs
rename to CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/Connected.cs
index 5d3b94904d7..09cd4f33eda 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/Connected.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/Connected.cs
@@ -5,11 +5,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Controls;
+using Microsoft.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// A helper class that allows Connected Animations to be enabled through XAML
@@ -60,7 +60,7 @@ public static void SetAnchorElement(DependencyObject obj, UIElement value)
///
/// Gets the connected animation key associated with the ListViewBase item being animated
///
- /// The
+ /// The
/// The connected animation key
public static string GetListItemKey(DependencyObject obj)
{
@@ -68,9 +68,9 @@ public static string GetListItemKey(DependencyObject obj)
}
///
- /// Sets the connected animation key for the item being animated
+ /// Sets the connected animation key for the item being animated
///
- /// The
+ /// The
/// The connected animation key
public static void SetListItemKey(DependencyObject obj, string value)
{
@@ -80,7 +80,7 @@ public static void SetListItemKey(DependencyObject obj, string value)
///
/// Gets the name of the element in the that is animated
///
- /// The
+ /// The
/// The name of the element being animated
public static string GetListItemElementName(DependencyObject obj)
{
@@ -90,7 +90,7 @@ public static string GetListItemElementName(DependencyObject obj)
///
/// Sets the name of the element in the that is animated
///
- /// The
+ /// The
/// The name of the element to animate
public static void SetListItemElementName(DependencyObject obj, string value)
{
@@ -423,7 +423,7 @@ private static void OnAnchorElementChanged(DependencyObject d, DependencyPropert
private static void OnListItemKeyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
- var element = d as Windows.UI.Xaml.Controls.ListViewBase;
+ var element = d as Microsoft.UI.Xaml.Controls.ListViewBase;
if (element == null)
{
return;
@@ -446,7 +446,7 @@ private static void OnListItemKeyChanged(DependencyObject d, DependencyPropertyC
private static void OnListItemElementNameChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
- var element = d as Windows.UI.Xaml.Controls.ListViewBase;
+ var element = d as Microsoft.UI.Xaml.Controls.ListViewBase;
if (element == null)
{
return;
@@ -497,7 +497,7 @@ private static void GetParentFrameAndExecuteAction(FrameworkElement element, Act
}
}
- private static void AddListViewBaseItemAnimationDetails(Page page, Windows.UI.Xaml.Controls.ListViewBase listViewBase)
+ private static void AddListViewBaseItemAnimationDetails(Page page, Microsoft.UI.Xaml.Controls.ListViewBase listViewBase)
{
if (listViewBase != null)
{
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationHelper.cs b/CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationHelper.cs
similarity index 90%
rename from Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationHelper.cs
rename to CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationHelper.cs
index 5ad8af220b3..a0bda4e2a2e 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationHelper.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationHelper.cs
@@ -5,12 +5,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Windows.System;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Controls;
+using Microsoft.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// Connected Animation Helper used with the class
@@ -43,7 +42,7 @@ internal void SetParameterForNextFrameNavigation(object parameter)
_nextParameter = parameter;
}
- private void Frame_Navigating(object sender, Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs e)
+ private void Frame_Navigating(object sender, Microsoft.UI.Xaml.Navigation.NavigatingCancelEventArgs e)
{
object parameter;
if (_nextParameter != null)
@@ -92,7 +91,7 @@ private void Frame_Navigating(object sender, Windows.UI.Xaml.Navigation.Navigati
}
if (animation != null &&
- e.NavigationMode == Windows.UI.Xaml.Navigation.NavigationMode.Back)
+ e.NavigationMode == Microsoft.UI.Xaml.Navigation.NavigationMode.Back)
{
UseDirectConnectedAnimationConfiguration(animation);
}
@@ -101,7 +100,7 @@ private void Frame_Navigating(object sender, Windows.UI.Xaml.Navigation.Navigati
}
}
- private void Frame_Navigated(object sender, Windows.UI.Xaml.Navigation.NavigationEventArgs e)
+ private void Frame_Navigated(object sender, Microsoft.UI.Xaml.Navigation.NavigationEventArgs e)
{
var navigatedPage = (sender as Frame).Content as Page;
@@ -120,7 +119,7 @@ void LoadedHandler(object s, RoutedEventArgs args)
{
parameter = _nextParameter;
}
- else if (e.NavigationMode == Windows.UI.Xaml.Navigation.NavigationMode.Back)
+ else if (e.NavigationMode == Microsoft.UI.Xaml.Navigation.NavigationMode.Back)
{
var sourcePage = (sender as Frame).ForwardStack.LastOrDefault();
parameter = sourcePage?.Parameter;
@@ -150,8 +149,7 @@ void LoadedHandler(object s, RoutedEventArgs args)
listAnimProperty.ListViewBase.ScrollIntoView(parameter);
// give time to the UI thread to scroll the list
- var dispatcherQueue = DispatcherQueue.GetForCurrentThread();
- var t = dispatcherQueue.EnqueueAsync(
+ var t = listAnimProperty.ListViewBase.DispatcherQueue.EnqueueAsync(
async () =>
{
try
@@ -162,7 +160,7 @@ void LoadedHandler(object s, RoutedEventArgs args)
{
connectedAnimation.Cancel();
}
- }, DispatcherQueuePriority.Normal);
+ }, Microsoft.UI.Dispatching.DispatcherQueuePriority.Normal);
animationHandled = true;
}
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationListProperty.cs b/CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationListProperty.cs
similarity index 71%
rename from Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationListProperty.cs
rename to CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationListProperty.cs
index a8b099da365..de9b700a61a 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationListProperty.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationListProperty.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
internal class ConnectedAnimationListProperty
{
public string ElementName { get; set; }
- public Windows.UI.Xaml.Controls.ListViewBase ListViewBase { get; set; }
+ public Microsoft.UI.Xaml.Controls.ListViewBase ListViewBase { get; set; }
}
}
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationProperties.cs b/CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationProperties.cs
similarity index 88%
rename from Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationProperties.cs
rename to CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationProperties.cs
index f04cda3b04f..edefdf1efb0 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/ConnectedAnimations/ConnectedAnimationProperties.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/ConnectedAnimations/ConnectedAnimationProperties.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
-using Windows.UI.Xaml;
+using Microsoft.UI.Xaml;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
internal class ConnectedAnimationProperties
{
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/Axis.cs b/CommunityToolkit.WinUI.UI.Animations/Enums/Axis.cs
similarity index 94%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Enums/Axis.cs
rename to CommunityToolkit.WinUI.UI.Animations/Enums/Axis.cs
index ed706618ff5..3a39d0f9ee1 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/Axis.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Enums/Axis.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// Indicates an axis in the 3D space.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/EasingType.cs b/CommunityToolkit.WinUI.UI.Animations/Enums/EasingType.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Enums/EasingType.cs
rename to CommunityToolkit.WinUI.UI.Animations/Enums/EasingType.cs
index 35ee368c113..9c0b5707b4a 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/EasingType.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Enums/EasingType.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// Indicates how the animation interpolates between keyframes.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/FrameworkLayer.cs b/CommunityToolkit.WinUI.UI.Animations/Enums/FrameworkLayer.cs
similarity index 72%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Enums/FrameworkLayer.cs
rename to CommunityToolkit.WinUI.UI.Animations/Enums/FrameworkLayer.cs
index ab8b3c801a4..f99d4838ff3 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/FrameworkLayer.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Enums/FrameworkLayer.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An that indicates the framework layer to target in a specific animation.
@@ -10,12 +10,12 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
public enum FrameworkLayer
{
///
- /// Indicates the APIs.
+ /// Indicates the APIs.
///
Composition,
///
- /// Indicates the APIs.
+ /// Indicates the APIs.
///
Xaml
}
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/Side.cs b/CommunityToolkit.WinUI.UI.Animations/Enums/Side.cs
similarity index 94%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Enums/Side.cs
rename to CommunityToolkit.WinUI.UI.Animations/Enums/Side.cs
index c7986aaf5c1..1e793390329 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/Side.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Enums/Side.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// Indicates a side to animate in the bounds of a given element.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/VisualProperty.cs b/CommunityToolkit.WinUI.UI.Animations/Enums/VisualProperty.cs
similarity index 88%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Enums/VisualProperty.cs
rename to CommunityToolkit.WinUI.UI.Animations/Enums/VisualProperty.cs
index 385490c66fe..42af2c464b2 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Enums/VisualProperty.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Enums/VisualProperty.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// Indicates a property of a object.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Explicit.cs b/CommunityToolkit.WinUI.UI.Animations/Explicit.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Explicit.cs
rename to CommunityToolkit.WinUI.UI.Animations/Explicit.cs
index 325c45e8eba..5bf52bde4cd 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Explicit.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Explicit.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Xaml;
+using Microsoft.UI.Xaml;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// Attached properties to support explicitly triggered animations for instances.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/CompositionExtensions.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/CompositionExtensions.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/CompositionExtensions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/CompositionExtensions.cs
index 521d69ea2a9..8f334500366 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/CompositionExtensions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/CompositionExtensions.cs
@@ -2,10 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
-using Windows.UI.Composition.Interactions;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Composition.Interactions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class CompositionExtensions.
@@ -138,7 +138,7 @@ public static VisualReferenceNode GetReference(this Visual compObj)
/// A class that derives from PropertySetReferenceNode.
/// The ps.
/// T.
- /// Invalid property set specialization
+ /// Invalid property set specialization
public static T GetSpecializedReference(this CompositionPropertySet ps)
where T : PropertySetReferenceNode
{
@@ -152,7 +152,7 @@ public static T GetSpecializedReference(this CompositionPropertySet ps)
}
else
{
- throw new System.Exception("Invalid property set specialization");
+ throw new global::System.Exception("Invalid property set specialization");
}
}
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionFunctions.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionFunctions.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionFunctions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionFunctions.cs
index b0f7b69b40d..16fe89f04f6 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionFunctions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionFunctions.cs
@@ -4,7 +4,7 @@
using System.Collections.Generic;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class ExpressionFunctions.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/BooleanNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/BooleanNode.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/BooleanNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/BooleanNode.cs
index 6e49f5e9417..547783f9fd4 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/BooleanNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/BooleanNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'BooleanNode' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
///
/// Class BooleanNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class BooleanNode : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ColorNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ColorNode.cs
similarity index 89%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ColorNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ColorNode.cs
index 553beee5005..7a00f27e87e 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ColorNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ColorNode.cs
@@ -2,16 +2,16 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI;
+using Microsoft.UI;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'ColorNode' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
///
/// Class ColorNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class ColorNode : ExpressionNode
{
///
@@ -25,7 +25,7 @@ internal ColorNode()
/// Initializes a new instance of the class.
///
/// The value.
- internal ColorNode(Color value)
+ internal ColorNode(Windows.UI.Color value)
{
_value = value;
NodeType = ExpressionNodeType.ConstantValue;
@@ -46,7 +46,7 @@ internal ColorNode(string paramName)
///
/// Name of the parameter.
/// The value.
- internal ColorNode(string paramName, Color value)
+ internal ColorNode(string paramName, Windows.UI.Color value)
{
ParamName = paramName;
_value = value;
@@ -60,7 +60,7 @@ internal ColorNode(string paramName, Color value)
///
/// The value.
/// The result of the conversion.
- public static implicit operator ColorNode(Color value)
+ public static implicit operator ColorNode(Windows.UI.Color value)
{
return new ColorNode(value);
}
@@ -96,7 +96,7 @@ protected internal override string GetValue()
return $"ColorRgb({_value.A},{_value.R},{_value.G},{_value.B})";
}
- private Color _value;
+ private Windows.UI.Color _value;
}
#pragma warning restore CS0660, CS0661
}
\ No newline at end of file
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ExpressionNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ExpressionNode.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ExpressionNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ExpressionNode.cs
index e864b725a03..130d2cf3c09 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ExpressionNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ExpressionNode.cs
@@ -6,10 +6,10 @@
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.CompilerServices;
-using Windows.UI;
-using Windows.UI.Composition;
+using Microsoft.UI;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class ExpressionNode.
@@ -103,7 +103,7 @@ public void SetVector4Parameter(string parameterName, Vector4 value)
///
/// The string name of the parameter to be resolved.
/// The value that the parameter should resolve to.
- public void SetColorParameter(string parameterName, Color value)
+ public void SetColorParameter(string parameterName, Windows.UI.Color value)
{
_constParamMap[parameterName] = value;
}
@@ -165,7 +165,7 @@ public void Dispose()
///
/// A class that derives from ExpressionNode
/// T.
- /// unexpected type
+ /// unexpected type
internal static T CreateExpressionNode()
where T : ExpressionNode
{
@@ -221,7 +221,7 @@ internal static T CreateExpressionNode()
/// A class that derives from ExpressionNode
/// Kind of the keyword.
/// T.
- /// Invalid ValueKeywordKind
+ /// Invalid ValueKeywordKind
internal static T CreateValueKeyword(ValueKeywordKind keywordKind)
where T : ExpressionNode
{
@@ -277,7 +277,7 @@ internal void ClearReferenceInfo()
///
/// Ensures the reference information.
///
- /// Reference and paramName can't both be null
+ /// Reference and paramName can't both be null
internal void EnsureReferenceInfo()
{
if (_objRefList == null)
@@ -397,9 +397,9 @@ internal void SetAllParameters(CompositionAnimation animation)
{
animation.SetVector4Parameter(constParam.Key, (Vector4)constParam.Value);
}
- else if (constParam.Value.GetType() == typeof(Color))
+ else if (constParam.Value.GetType() == typeof(Windows.UI.Color))
{
- animation.SetColorParameter(constParam.Key, (Color)constParam.Value);
+ animation.SetColorParameter(constParam.Key, (Windows.UI.Color)constParam.Value);
}
else if (constParam.Value.GetType() == typeof(Quaternion))
{
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ExpressionNodeType.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ExpressionNodeType.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ExpressionNodeType.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ExpressionNodeType.cs
index 23a960805a0..45d2e42d03e 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ExpressionNodeType.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ExpressionNodeType.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Enum ExpressionNodeType
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix3x2Node.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix3x2Node.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix3x2Node.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix3x2Node.cs
index 4fe297e34f8..7e55088f267 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix3x2Node.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix3x2Node.cs
@@ -4,7 +4,7 @@
using System.Numerics;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'Matrix3x2Node' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
@@ -12,7 +12,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
///
/// Class Matrix3x2Node. This class cannot be inherited.
///
- ///
+ ///
public sealed class Matrix3x2Node : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.Subchannel.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.Subchannel.cs
similarity index 93%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.Subchannel.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.Subchannel.cs
index 928f2358555..d1aaf12d1a8 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.Subchannel.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.Subchannel.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class Matrix4x4Node. This class cannot be inherited.
///
- ///
+ ///
public sealed partial class Matrix4x4Node : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.cs
index b75ec095e87..367743c7040 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Matrix4x4Node.cs
@@ -4,14 +4,14 @@
using System.Numerics;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'Matrix4x4Node' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
///
/// Class Matrix4x4Node. This class cannot be inherited.
///
- ///
+ ///
public sealed partial class Matrix4x4Node : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/QuaternionNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/QuaternionNode.cs
similarity index 97%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/QuaternionNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/QuaternionNode.cs
index 54b09e738ca..782a1821c27 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/QuaternionNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/QuaternionNode.cs
@@ -4,14 +4,14 @@
using System.Numerics;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'QuaternionNode' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
///
/// Class QuaternionNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class QuaternionNode : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ScalarNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ScalarNode.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ScalarNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ScalarNode.cs
index fe3b7408b91..21dc8aa2c61 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ScalarNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ScalarNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'ScalarNode' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
///
/// Class ScalarNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class ScalarNode : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ValueKeywordKind.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ValueKeywordKind.cs
similarity index 89%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ValueKeywordKind.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ValueKeywordKind.cs
index 3069d4116b2..378763eafc3 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/ValueKeywordKind.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/ValueKeywordKind.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Enum ValueKeywordKind
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector2Node.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector2Node.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector2Node.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector2Node.cs
index 31c9885e70e..02ace68d27d 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector2Node.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector2Node.cs
@@ -4,14 +4,14 @@
using System.Numerics;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'Vector2Node' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
///
/// Class Vector2Node. This class cannot be inherited.
///
- ///
+ ///
public sealed class Vector2Node : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector3Node.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector3Node.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector3Node.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector3Node.cs
index 7493428608a..203b56da6bb 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector3Node.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector3Node.cs
@@ -4,14 +4,14 @@
using System.Numerics;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'Vector3Node' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
///
/// Class Vector3Node. This class cannot be inherited.
///
- ///
+ ///
public sealed class Vector3Node : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector4Node.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector4Node.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector4Node.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector4Node.cs
index 83b85093088..fb74658779a 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionNodes/Vector4Node.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionNodes/Vector4Node.cs
@@ -4,14 +4,14 @@
using System.Numerics;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// Ignore warning: 'Vector4Node' defines operator == or operator != but does not override Object.Equals(object o) && Object.GetHashCode()
#pragma warning disable CS0660, CS0661
///
/// Class Vector4Node. This class cannot be inherited.
///
- ///
+ ///
public sealed class Vector4Node : ExpressionNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Constant.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Constant.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Constant.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Constant.cs
index 612032c9115..256ad0698e0 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Constant.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Constant.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System.Numerics;
-using Windows.UI;
+using Microsoft.UI;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// ExpressionValues is a static class instead of a namespace to improve intellisense discoverablity and consistency with the other helper classes.
@@ -174,7 +174,7 @@ public static Vector4Node CreateConstantVector4(string paramName, Vector4 value)
/// The name that will be used to refer to the parameter at a later time.
/// The value of the parameter.
/// ColorNode.
- public static ColorNode CreateConstantColor(string paramName, Color value)
+ public static ColorNode CreateConstantColor(string paramName, Windows.UI.Color value)
{
return new ColorNode(paramName, value);
}
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.CurrentValue.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.CurrentValue.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.CurrentValue.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.CurrentValue.cs
index 892d9ef7098..65e55a23396 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.CurrentValue.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.CurrentValue.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// ExpressionValues is a static class instead of a namespace to improve intellisense discoverablity and consistency with the other helper classes.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Reference.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Reference.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Reference.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Reference.cs
index ecb78064ba7..d4ddbe563e0 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Reference.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Reference.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// ExpressionValues is a static class instead of a namespace to improve intellisense discoverablity and consistency with the other helper classes.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.StartingValue.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.StartingValue.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.StartingValue.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.StartingValue.cs
index 080b96082f2..4703f799650 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.StartingValue.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.StartingValue.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// ExpressionValues is a static class instead of a namespace to improve intellisense discoverablity and consistency with the other helper classes.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Target.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Target.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Target.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Target.cs
index e2afdcca8e0..32a8c328631 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Target.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ExpressionValues/ExpressionValues.Target.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
// ExpressionValues is a static class instead of a namespace to improve intellisense discoverablity and consistency with the other helper classes.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/OperationType.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/OperationType.cs
similarity index 94%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/OperationType.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/OperationType.cs
index 80098629e37..0766d2d882f 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/OperationType.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/OperationType.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Enum OperationType
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/AmbientLightReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/AmbientLightReferenceNode.cs
similarity index 88%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/AmbientLightReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/AmbientLightReferenceNode.cs
index 04d31366f18..809bd901fa4 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/AmbientLightReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/AmbientLightReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class AmbientLightReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class AmbientLightReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ColorBrushReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ColorBrushReferenceNode.cs
similarity index 88%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ColorBrushReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ColorBrushReferenceNode.cs
index aa89a2798ae..9b25e58ab96 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ColorBrushReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ColorBrushReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class ColorBrushReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class ColorBrushReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/DistantLightReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/DistantLightReferenceNode.cs
similarity index 90%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/DistantLightReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/DistantLightReferenceNode.cs
index 178b7298ce0..3245088b323 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/DistantLightReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/DistantLightReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class DistantLightReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class DistantLightReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/DropShadowReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/DropShadowReferenceNode.cs
similarity index 92%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/DropShadowReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/DropShadowReferenceNode.cs
index a06a25be4af..08e4f5053b8 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/DropShadowReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/DropShadowReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class DropShadowReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class DropShadowReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/InsetClipReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/InsetClipReferenceNode.cs
similarity index 95%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/InsetClipReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/InsetClipReferenceNode.cs
index 5b28df8086c..a40387c4ee0 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/InsetClipReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/InsetClipReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class InsetClipReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class InsetClipReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/InteractionTrackerReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/InteractionTrackerReferenceNode.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/InteractionTrackerReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/InteractionTrackerReferenceNode.cs
index 350c94ced4a..ad3f36d6248 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/InteractionTrackerReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/InteractionTrackerReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition.Interactions;
+using Microsoft.UI.Composition.Interactions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class InteractionTrackerReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class InteractionTrackerReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ManipulationPropertySetReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ManipulationPropertySetReferenceNode.cs
similarity index 92%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ManipulationPropertySetReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ManipulationPropertySetReferenceNode.cs
index 7c8372d28c5..08d0d798f13 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ManipulationPropertySetReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ManipulationPropertySetReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class ManipulationPropertySetReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class ManipulationPropertySetReferenceNode : PropertySetReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/NineGridBrushReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/NineGridBrushReferenceNode.cs
similarity index 94%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/NineGridBrushReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/NineGridBrushReferenceNode.cs
index 9e7af465676..d35c9ffd084 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/NineGridBrushReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/NineGridBrushReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class NineGridBrushReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class NineGridBrushReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PointLightReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PointLightReferenceNode.cs
similarity index 93%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PointLightReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PointLightReferenceNode.cs
index f80cfc364cb..a69d4c7ee0d 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PointLightReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PointLightReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class PointLightReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class PointLightReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PointerPositionPropertySetReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PointerPositionPropertySetReferenceNode.cs
similarity index 88%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PointerPositionPropertySetReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PointerPositionPropertySetReferenceNode.cs
index d035dd6d68d..988174af97a 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PointerPositionPropertySetReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PointerPositionPropertySetReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class PointerPositionPropertySetReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class PointerPositionPropertySetReferenceNode : PropertySetReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PropertySetReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PropertySetReferenceNode.cs
similarity index 89%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PropertySetReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PropertySetReferenceNode.cs
index 95652790b82..2d8a041de53 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/PropertySetReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/PropertySetReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class PropertySetReferenceNode.
///
- ///
+ ///
public class PropertySetReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ReferenceNode.cs
similarity index 95%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ReferenceNode.cs
index fb95338d1e7..9ab8ec12536 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/ReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/ReferenceNode.cs
@@ -3,14 +3,14 @@
// See the LICENSE file in the project root for more information.
using System;
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class ReferenceNode.
///
- ///
+ ///
public abstract class ReferenceNode : ExpressionNode
{
///
@@ -159,7 +159,7 @@ protected internal T ReferenceProperty(string propertyName)
/// Gets the value.
///
/// System.String.
- /// GetValue is not implemented for ReferenceNode and shouldn't be called
+ /// GetValue is not implemented for ReferenceNode and shouldn't be called
protected internal override string GetValue()
{
throw new NotImplementedException("GetValue is not implemented for ReferenceNode and shouldn't be called");
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/SpotLightReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/SpotLightReferenceNode.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/SpotLightReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/SpotLightReferenceNode.cs
index 20f627a94f5..dd496017752 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/SpotLightReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/SpotLightReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class SpotLightReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class SpotLightReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/SurfaceBrushReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/SurfaceBrushReferenceNode.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/SurfaceBrushReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/SurfaceBrushReferenceNode.cs
index 5a0ad859a5f..b7fa1105bac 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/SurfaceBrushReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/SurfaceBrushReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class SurfaceBrushReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class SurfaceBrushReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/VisualReferenceNode.cs b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/VisualReferenceNode.cs
similarity index 96%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/VisualReferenceNode.cs
rename to CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/VisualReferenceNode.cs
index 21c49296b91..eb12862ffe7 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Expressions/ReferenceNodes/VisualReferenceNode.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Expressions/ReferenceNodes/VisualReferenceNode.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
+namespace CommunityToolkit.WinUI.UI.Animations.Expressions
{
///
/// Class VisualReferenceNode. This class cannot be inherited.
///
- ///
+ ///
public sealed class VisualReferenceNode : ReferenceNode
{
///
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/AnimationExtensions.cs b/CommunityToolkit.WinUI.UI.Animations/Extensions/AnimationExtensions.cs
similarity index 98%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Extensions/AnimationExtensions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Extensions/AnimationExtensions.cs
index 4566c20230f..5dbbe3c14c2 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/AnimationExtensions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Extensions/AnimationExtensions.cs
@@ -6,12 +6,12 @@
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Numerics;
-using Windows.UI.Composition;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// Common properties related to extensions.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/CompositionObjectExtensions.cs b/CommunityToolkit.WinUI.UI.Animations/Extensions/CompositionObjectExtensions.cs
similarity index 93%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Extensions/CompositionObjectExtensions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Extensions/CompositionObjectExtensions.cs
index e5c8e70e5b9..4f03e45acda 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/CompositionObjectExtensions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Extensions/CompositionObjectExtensions.cs
@@ -5,9 +5,9 @@
#nullable enable
using System.Diagnostics.Contracts;
-using Windows.UI.Composition;
+using Microsoft.UI.Composition;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An extension for the type.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/CompositorExtensions.cs b/CommunityToolkit.WinUI.UI.Animations/Extensions/CompositorExtensions.cs
similarity index 99%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Extensions/CompositorExtensions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Extensions/CompositorExtensions.cs
index ba8b9ab203c..54c7faacfcd 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/CompositorExtensions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Extensions/CompositorExtensions.cs
@@ -7,12 +7,12 @@
using System;
using System.Diagnostics.Contracts;
using System.Numerics;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml.Media.Animation;
using Windows.UI;
-using Windows.UI.Composition;
-using Windows.UI.Xaml.Media.Animation;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An extension for the type.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/DependencyObjectExtensions.cs b/CommunityToolkit.WinUI.UI.Animations/Extensions/DependencyObjectExtensions.cs
similarity index 95%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Extensions/DependencyObjectExtensions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Extensions/DependencyObjectExtensions.cs
index f4ac51a8646..14e22ccfca2 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/DependencyObjectExtensions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Extensions/DependencyObjectExtensions.cs
@@ -6,13 +6,13 @@
using System;
using System.Diagnostics.Contracts;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Media.Animation;
using Windows.Foundation;
using Windows.UI;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Media.Animation;
-using XamlColorAnimation = Windows.UI.Xaml.Media.Animation.ColorAnimation;
+using XamlColorAnimation = Microsoft.UI.Xaml.Media.Animation.ColorAnimation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An extension for the type.
@@ -48,7 +48,7 @@ public static DoubleAnimation CreateDoubleAnimation(
bool autoReverse = false,
bool enableDependecyAnimations = false)
{
- DoubleAnimation animation = new()
+ DoubleAnimation animation = new ()
{
To = to,
From = from,
@@ -96,7 +96,7 @@ public static PointAnimation CreatePointAnimation(
bool autoReverse = false,
bool enableDependecyAnimations = false)
{
- PointAnimation animation = new()
+ PointAnimation animation = new ()
{
To = to,
From = from,
@@ -142,7 +142,7 @@ public static XamlColorAnimation CreateColorAnimation(
FillBehavior fillBehavior = FillBehavior.HoldEnd,
bool autoReverse = false)
{
- XamlColorAnimation animation = new()
+ XamlColorAnimation animation = new ()
{
To = to,
From = from,
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/EasingTypeExtensions.cs b/CommunityToolkit.WinUI.UI.Animations/Extensions/EasingTypeExtensions.cs
similarity index 94%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Extensions/EasingTypeExtensions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Extensions/EasingTypeExtensions.cs
index 3bf10168ed2..3ab322b03ad 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/EasingTypeExtensions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Extensions/EasingTypeExtensions.cs
@@ -6,10 +6,10 @@
using System;
using System.Diagnostics.Contracts;
-using Windows.UI.Xaml.Media.Animation;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using Microsoft.UI.Xaml.Media.Animation;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An extension for the type.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/ITimedKeyFrameAnimationBuilderExtensions.cs b/CommunityToolkit.WinUI.UI.Animations/Extensions/ITimedKeyFrameAnimationBuilderExtensions.cs
similarity index 91%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Extensions/ITimedKeyFrameAnimationBuilderExtensions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Extensions/ITimedKeyFrameAnimationBuilderExtensions.cs
index 979c357ec2e..c6b553d9e9f 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/ITimedKeyFrameAnimationBuilderExtensions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Extensions/ITimedKeyFrameAnimationBuilderExtensions.cs
@@ -5,10 +5,10 @@
#nullable enable
using System;
-using Windows.UI.Xaml.Media.Animation;
-using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
+using Microsoft.UI.Xaml.Media.Animation;
+using static CommunityToolkit.WinUI.UI.Animations.AnimationExtensions;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An extension for the type.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/ScrollViewerExtensions.cs b/CommunityToolkit.WinUI.UI.Animations/Extensions/ScrollViewerExtensions.cs
similarity index 95%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Extensions/ScrollViewerExtensions.cs
rename to CommunityToolkit.WinUI.UI.Animations/Extensions/ScrollViewerExtensions.cs
index 09bf2781bf4..8904128166f 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/ScrollViewerExtensions.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Extensions/ScrollViewerExtensions.cs
@@ -4,12 +4,12 @@
using System;
using System.Numerics;
-using Windows.UI.Composition;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Hosting;
+using Microsoft.UI.Composition;
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Controls;
+using Microsoft.UI.Xaml.Hosting;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// Provides attached dependency properties and methods for the control.
diff --git a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/StoryboardAnimations.cs b/CommunityToolkit.WinUI.UI.Animations/Extensions/StoryboardAnimations.cs
similarity index 80%
rename from Microsoft.Toolkit.Uwp.UI.Animations/Extensions/StoryboardAnimations.cs
rename to CommunityToolkit.WinUI.UI.Animations/Extensions/StoryboardAnimations.cs
index e978f5c0b21..5816e4940b4 100644
--- a/Microsoft.Toolkit.Uwp.UI.Animations/Extensions/StoryboardAnimations.cs
+++ b/CommunityToolkit.WinUI.UI.Animations/Extensions/StoryboardAnimations.cs
@@ -5,9 +5,9 @@
#nullable enable
using System.Threading.Tasks;
-using Windows.UI.Xaml.Media.Animation;
+using Microsoft.UI.Xaml.Media.Animation;
-namespace Microsoft.Toolkit.Uwp.UI.Animations
+namespace CommunityToolkit.WinUI.UI.Animations
{
///
/// An extension for the type.
@@ -23,9 +23,12 @@ public static Task BeginAsync(this Storyboard storyboard)
{
TaskCompletionSource