共用方式為


ViewExtensions.ToHandler(IView, IMauiContext) Method

Definition

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

Parameters

view
IView
context
IMauiContext

Returns

Applies to