Share via


MauiAppBuilderExtensions.UseMauiCompatibility(MauiAppBuilder) Method

Definition

Caution

The compatibility functionality is deprecated. This will be removed in the future, please make sure to migrate to handlers. You might already not be using any of the compatibility functionality anymore, in that case please remove this call, and the reference to the Compatibility NuGet package, as it will introduce unnecessary overhead that negatively impacts performance. Learn how to transition off of the Compatibility packages on Microsoft Learn: https://aka.ms/maui/renderer-to-handler

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Hosting::MauiAppBuilder ^ UseMauiCompatibility(Microsoft::Maui::Hosting::MauiAppBuilder ^ builder);
[System.Obsolete("The compatibility functionality is deprecated. This will be removed in the future, please make sure to migrate to handlers. You might already not be using any of the compatibility functionality anymore, in that case please remove this call, and the reference to the Compatibility NuGet package, as it will introduce unnecessary overhead that negatively impacts performance. Learn how to transition off of the Compatibility packages on Microsoft Learn: https://aka.ms/maui/renderer-to-handler")]
public static Microsoft.Maui.Hosting.MauiAppBuilder UseMauiCompatibility(this Microsoft.Maui.Hosting.MauiAppBuilder builder);
public static Microsoft.Maui.Hosting.MauiAppBuilder UseMauiCompatibility(this Microsoft.Maui.Hosting.MauiAppBuilder builder);
[<System.Obsolete("The compatibility functionality is deprecated. This will be removed in the future, please make sure to migrate to handlers. You might already not be using any of the compatibility functionality anymore, in that case please remove this call, and the reference to the Compatibility NuGet package, as it will introduce unnecessary overhead that negatively impacts performance. Learn how to transition off of the Compatibility packages on Microsoft Learn: https://aka.ms/maui/renderer-to-handler")>]
static member UseMauiCompatibility : Microsoft.Maui.Hosting.MauiAppBuilder -> Microsoft.Maui.Hosting.MauiAppBuilder
static member UseMauiCompatibility : Microsoft.Maui.Hosting.MauiAppBuilder -> Microsoft.Maui.Hosting.MauiAppBuilder
<Extension()>
Public Function UseMauiCompatibility (builder As MauiAppBuilder) As MauiAppBuilder

Parameters

builder
MauiAppBuilder

Returns

Attributes

Applies to