ElementExtensions.ToHandler(IElement, IMauiContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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