MauiHandlersCollectionExtensions.TryAddCompatibilityRenderer 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.
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
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.