Updated GraphicsControls to use P11
This commit is contained in:
Родитель
0ef88abba9
Коммит
52397226a1
|
@ -83,8 +83,8 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="$(TargetFramework.Contains('-windows')) == true ">
|
||||
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.29-preview3" />
|
||||
<PackageReference Include="Microsoft.Maui.Graphics.Win2D.WinUI.Desktop" Version="6.0.101-preview.11.679" />
|
||||
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" />
|
||||
<PackageReference Include="Microsoft.Maui.Graphics.Win2D.WinUI.Desktop" Version="6.0.101-preview.11.758" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -12,7 +12,7 @@
|
|||
<PackageId>Microsoft.Maui.Graphics.Controls</PackageId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Maui.Graphics" Version="6.0.101-preview.11.679" />
|
||||
<PackageReference Include="Microsoft.Maui.Graphics" Version="6.0.101-preview.11.758" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\..\Microsoft.Maui.Graphics.Controls.MultiTargeting.targets" />
|
||||
</Project>
|
|
@ -3,6 +3,7 @@ using System.Diagnostics;
|
|||
using CoreGraphics;
|
||||
using Foundation;
|
||||
using Microsoft.Maui.Graphics.Native;
|
||||
using Microsoft.Maui.Platform;
|
||||
using UIKit;
|
||||
|
||||
namespace Microsoft.Maui.Graphics.Controls
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
using Android.Text;
|
||||
using Android.Views;
|
||||
using Android.Views.InputMethods;
|
||||
using Microsoft.Maui.Platform;
|
||||
using static Android.Views.View;
|
||||
using ATextAlignment = Android.Views.TextAlignment;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using Microsoft.Maui.Platform;
|
||||
using System;
|
||||
using UIKit;
|
||||
|
||||
namespace Microsoft.Maui.Graphics.Controls
|
||||
|
|
|
@ -4,6 +4,7 @@ using Android.Text;
|
|||
using Android.Views;
|
||||
using Android.Views.InputMethods;
|
||||
using Android.Widget;
|
||||
using Microsoft.Maui.Platform;
|
||||
using static Android.Views.View;
|
||||
using static Android.Widget.TextView;
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using Foundation;
|
||||
using Microsoft.Maui.Platform;
|
||||
using UIKit;
|
||||
|
||||
namespace Microsoft.Maui.Graphics.Controls
|
||||
|
|
|
@ -3,6 +3,7 @@ using System.Diagnostics;
|
|||
using CoreGraphics;
|
||||
using Foundation;
|
||||
using Microsoft.Maui.Graphics.Native;
|
||||
using Microsoft.Maui.Platform;
|
||||
using UIKit;
|
||||
|
||||
namespace Microsoft.Maui.Graphics.Controls
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#if __IOS__ || MACCATALYST
|
||||
using Microsoft.Maui.Platform;
|
||||
|
||||
#if __IOS__ || MACCATALYST
|
||||
using NativeView = UIKit.UIView;
|
||||
#elif MONOANDROID
|
||||
using NativeView = Android.Views.View;
|
||||
|
|
Загрузка…
Ссылка в новой задаче