Skip to content

Commit ae9ca0a

Browse files
niels9001Arlodotexe
authored andcommitted
Adding namespace
1 parent 0297a3d commit ae9ca0a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/LayoutTransformControl/src/LayoutTransformControl.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44
using System.Diagnostics.CodeAnalysis;
5+
#if WINAPPSDK
6+
using Microsoft.UI.Xaml.Media;
7+
#else
8+
using Windows.UI.Xaml.Media;
9+
#endif
510

611
namespace CommunityToolkit.WinUI.Controls;
712

@@ -455,5 +460,5 @@ private Size ComputeLargestTransformedSize(Size arrangeBounds)
455460

456461
return computedSize;
457462
}
458-
#pragma warning restore CS8619
463+
#pragma warning restore CS8619
459464
}

0 commit comments

Comments
 (0)