uid |
---|
Uno.Development.UpdatingToWinUI3 |
Uno Platform supports authoring apps using WinUI 3's API. This article details the changes required when migrating an application from the UWP API set to the WinUI 3 API set.
Read more about WinUI 3 and Uno Platform.
Uno.UI
becomes Uno.WinUI
Uno.UI.DevServer
becomes Uno.WinUI.DevServer
Uno.UI.Lottie
becomes Uno.WinUI.Lottie
Uno.UI.Foldable
becomes Uno.WinUI.Foldable
Windows.UI.Xaml
becomes Microsoft.UI.Xaml
Windows.UI.Composition
becomes Microsoft.UI.Composition
App.xaml.cs
:
MapControl
is missingMediaPlayerElement
is missingWebView
is now WebView2
For a full list of unavailable controls and visual features, as well as timelines for restoration in some cases, consult the WinUI 3 Feature Roadmap.
Some WinRT APIs are unsupported in WinUI 3 Desktop apps, notably CoreDispatcher
, CoreWindow
, and ApplicationView
. Consult this guide for supported alternatives to those APIs. DispatcherQueue
, the replacement for CoreDispatcher
in WinUI 3, is supported by Uno Platform.
Instructions are available here for creating a new Uno Platform application targeting WinUI 3.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )