Sdílet prostřednictvím


ElementExtensions.ToHandler(IElement, IMauiContext) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::IElementHandler ^ ToHandler(Microsoft::Maui::IElement ^ view, Microsoft::Maui::IMauiContext ^ context);
public static Microsoft.Maui.IElementHandler ToHandler (this Microsoft.Maui.IElement view, Microsoft.Maui.IMauiContext context);
static member ToHandler : Microsoft.Maui.IElement * Microsoft.Maui.IMauiContext -> Microsoft.Maui.IElementHandler
<Extension()>
Public Function ToHandler (view As IElement, context As IMauiContext) As IElementHandler

Parameters

view
IElement
context
IMauiContext

Returns

Applies to