ElementExtensions.ToHandler(IElement, IMauiContext) 方法

定义

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

参数

view
IElement
context
IMauiContext

返回

适用于