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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI