Страница:
Migrating to Preview 14
Страницы
.NET 7 and .NET MAUI
Blazor Desktop
CLI iOS Simulator Selection
Capturing Binary Logs
Customizing Controls with Handlers
DeviceTests
FAQs
Guidelines for Customization of Controls
Handler Property PR Guidelines
Home
Installing .NET
Known Issues
Memory Leaks
Migrating Xamarin.Forms Effects
Migrating from Preview 10 to 11
Migrating from Preview 7 to 8
Migrating from Preview 8 to 9
Migrating from Preview 9 to 10
Migrating from Xamarin.Forms (Preview)
Migrating from Xamarin.Forms to .NET MAUI
Migrating to Preview 13
Migrating to Preview 14
Migrating to RC1
News
Nightly Builds
Porting Custom Renderers to Handlers
Profiling .NET MAUI Apps
Release Versions
Roadmap
Single Project
Status
Testing
UITests
Upgrading .NET MAUI from .NET 7 to .NET 8
Using Custom Renderers in .NET MAUI
Xamarin.Forms MAUI.Controls Layout Differences
Xamarin.Forms vs .NET MAUI
3
Migrating to Preview 14
Javier Calvarro Nelson редактировал(а) эту страницу 2022-04-05 16:48:14 +02:00
Содержание
Shell
In order to use constructor injection with ContentPage
s in the context of Shell, you'll need to register them with DI just like you have your view models.
Blazor
- Use
services.AddMauiBlazorWebview()
instead ofbuilder.RegisterBlazorMauiWebView()
andservices.AddBlazorWebView()
to register Blazor Webview in Maui applications. Callingservices.AddBlazorWebView()
is no longer necessary since it's done as part ofservices.AddMauiBlazorWebview()
Renames
- occurrences of "native" have been replaced with "platform"
OSAppTheme
is nowAppTheme
Type Changes
Rectangle
to Rect
OnPlatform Changes
The available platforms are now:
- Android
- iOS
- MacCatalyst
- Tizen
- WinUI
General Info
- How to Contribute
- Handler Property PR Guidelines
- Official Documentation
- Roadmap
- FAQs
- Nightly Builds
- Releases