MauiHandlersCollectionExtensions.AddCompatibilityRenderer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddCompatibilityRenderer(IMauiHandlersCollection, Type, Type)
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)
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)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.