Bagikan melalui


MauiHandlersCollectionExtensions.TryAddCompatibilityRenderer Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Hosting::IMauiHandlersCollection ^ TryAddCompatibilityRenderer(Microsoft::Maui::Hosting::IMauiHandlersCollection ^ handlersCollection, Type ^ controlType, Type ^ rendererType);
public static Microsoft.Maui.Hosting.IMauiHandlersCollection TryAddCompatibilityRenderer (this Microsoft.Maui.Hosting.IMauiHandlersCollection handlersCollection, Type controlType, Type rendererType);
static member TryAddCompatibilityRenderer : Microsoft.Maui.Hosting.IMauiHandlersCollection * Type * Type -> Microsoft.Maui.Hosting.IMauiHandlersCollection
<Extension()>
Public Function TryAddCompatibilityRenderer (handlersCollection As IMauiHandlersCollection, controlType As Type, rendererType As Type) As IMauiHandlersCollection

Parameters

handlersCollection
IMauiHandlersCollection
controlType
Type
rendererType
Type

Returns

Applies to