【问题标题】:Can we use Windows UI Library in Xamarin UWP (windows mobile app)我们可以在 Xamarin UWP(Windows 移动应用程序)中使用 Windows UI 库吗
【发布时间】:2021-06-14 20:32:57
【问题描述】:

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

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

xamarin UWP 和 UWP 应用程序有什么区别?

【问题讨论】:

标签: windows xamarin mobile uwp


【解决方案1】:

我们能否在 Xamarin UWP(Windows 移动应用)中使用 Windows UI 库

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-09-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-07
    相关资源
    最近更新 更多