Freigeben über


MauiHandlersCollectionExtensions.AddCompatibilityRenderer Method

Definition

Overloads

AddCompatibilityRenderer(IMauiHandlersCollection, Type, Type)
AddCompatibilityRenderer<TControlType,TMauiType,TRenderer>(IMauiHandlersCollection)
AddCompatibilityRenderer<TControlType,TRenderer>(IMauiHandlersCollection)

AddCompatibilityRenderer(IMauiHandlersCollection, Type, Type)

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

Parameters

handlersCollection
IMauiHandlersCollection
controlType
Type
rendererType
Type

Returns

Applies to

AddCompatibilityRenderer<TControlType,TMauiType,TRenderer>(IMauiHandlersCollection)

Source:
MauiHandlersCollectionExtensions.cs
Source:
MauiHandlersCollectionExtensions.cs
public:
generic <typename TControlType, typename TMauiType, typename TRenderer>
 where TMauiType : Microsoft::Maui::IView[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Hosting::IMauiHandlersCollection ^ AddCompatibilityRenderer(Microsoft::Maui::Hosting::IMauiHandlersCollection ^ handlersCollection);
public static Microsoft.Maui.Hosting.IMauiHandlersCollection AddCompatibilityRenderer<TControlType,TMauiType,TRenderer> (this Microsoft.Maui.Hosting.IMauiHandlersCollection handlersCollection) where TMauiType : Microsoft.Maui.IView;
static member AddCompatibilityRenderer : Microsoft.Maui.Hosting.IMauiHandlersCollection -> Microsoft.Maui.Hosting.IMauiHandlersCollection (requires 'MauiType :> Microsoft.Maui.IView)
<Extension()>
Public Function AddCompatibilityRenderer(Of TControlType, TMauiType, TRenderer) (handlersCollection As IMauiHandlersCollection) As IMauiHandlersCollection

Type Parameters

TControlType
TMauiType
TRenderer

Parameters

handlersCollection
IMauiHandlersCollection

Returns

Applies to

AddCompatibilityRenderer<TControlType,TRenderer>(IMauiHandlersCollection)

Source:
MauiHandlersCollectionExtensions.cs
Source:
MauiHandlersCollectionExtensions.cs
public:
generic <typename TControlType, typename TRenderer>
 where TControlType : Microsoft::Maui::IView[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Hosting::IMauiHandlersCollection ^ AddCompatibilityRenderer(Microsoft::Maui::Hosting::IMauiHandlersCollection ^ handlersCollection);
public static Microsoft.Maui.Hosting.IMauiHandlersCollection AddCompatibilityRenderer<TControlType,TRenderer> (this Microsoft.Maui.Hosting.IMauiHandlersCollection handlersCollection) where TControlType : Microsoft.Maui.IView;
static member AddCompatibilityRenderer : Microsoft.Maui.Hosting.IMauiHandlersCollection -> Microsoft.Maui.Hosting.IMauiHandlersCollection (requires 'ControlType :> Microsoft.Maui.IView)
<Extension()>
Public Function AddCompatibilityRenderer(Of TControlType As IView, TRenderer As IView) (handlersCollection As IMauiHandlersCollection) As IMauiHandlersCollection

Type Parameters

TControlType
TRenderer

Parameters

handlersCollection
IMauiHandlersCollection

Returns

Applies to