File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
components/Animations/src/Enums Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
+ #if WINUI2
6
+ using Composition = Windows . UI . Composition ;
7
+ using Animation = Windows . UI . Xaml . Media . Animation ;
8
+ #elif WINUI3
9
+ using Composition = Microsoft . UI . Composition ;
10
+ using Animation = Microsoft . UI . Xaml . Media . Animation ;
11
+ #endif
12
+
5
13
namespace CommunityToolkit . WinUI . Animations ;
6
14
7
15
/// <summary>
@@ -10,20 +18,12 @@ namespace CommunityToolkit.WinUI.Animations;
10
18
public enum FrameworkLayer
11
19
{
12
20
/// <summary>
13
- #if WINUI2
14
- /// Indicates the <see cref="Windows.UI.Composition"/> APIs.
15
- #elif WINUI3
16
- /// Indicates the <see cref="Microsoft.UI.Composition"/> APIs.
17
- #endif
21
+ /// Indicates the <see cref="Composition"/> APIs.
18
22
/// </summary>
19
23
Composition ,
20
24
21
25
/// <summary>
22
- #if WINUI2
23
- /// Indicates the <see cref="Windows.UI.Xaml.Media.Animation"/> APIs.
24
- #elif WINUI3
25
- /// Indicates the <see cref="Microsoft.UI.Xaml.Media.Animation"/> APIs.
26
- #endif
26
+ /// Indicates the <see cref="Animation"/> APIs.
27
27
/// </summary>
28
28
Xaml
29
29
}
You can’t perform that action at this time.
0 commit comments