Partager via


IMauiHandlersFactory.GetHandler Method

Definition

Overloads

GetHandler(Type)
GetHandler<T>()

GetHandler(Type)

Source:
IMauiHandlersFactory.cs
Source:
IMauiHandlersFactory.cs
public:
 Microsoft::Maui::IElementHandler ^ GetHandler(Type ^ type);
public Microsoft.Maui.IElementHandler? GetHandler (Type type);
abstract member GetHandler : Type -> Microsoft.Maui.IElementHandler
Public Function GetHandler (type As Type) As IElementHandler

Parameters

type
Type

Returns

Applies to

GetHandler<T>()

Source:
IMauiHandlersFactory.cs
Source:
IMauiHandlersFactory.cs
public:
generic <typename T>
 where T : Microsoft::Maui::IElement Microsoft::Maui::IElementHandler ^ GetHandler();
public Microsoft.Maui.IElementHandler? GetHandler<T> () where T : Microsoft.Maui.IElement;
abstract member GetHandler : unit -> Microsoft.Maui.IElementHandler (requires 'T :> Microsoft.Maui.IElement)
Public Function GetHandler(Of T As IElement) () As IElementHandler

Type Parameters

T

Returns

Applies to