我们可以在Xamarin UWP(Windows移动应用程序)中使用Windows UI库吗



我们可以在Xamarin UWP(Windows移动应用程序(中使用Windows UI库吗。当我走过https://learn.microsoft.com/en-us/windows/apps/winui/.

Windows UI库(WinUI(是用于Windows桌面和UWP应用程序的本地用户体验(UX(框架。

xamarin UWP和UWP应用程序之间的区别是什么?

我们可以在Xamarin UWP(Windows移动应用程序(中使用Windows UI库吗

您可以在Xamarin UWP中使用Windows UI,但它不能在Xamarn Forms项目中编写,只能在UWP客户端项目中使用。然而,Xamarin UWP UI界面是由Xamarin Forms呈现的。因此,在Xamarin UWP中使用Windows UI是没有意义的。

对于您的场景,我们建议在纯UWP项目中使用WinUI。

最新更新