Share via


ViewHandler.MapContextFlyout(IViewHandler, IView) Method

Definition

Maps the abstract IView to the platform-specific implementations of a IContextFlyoutElement.

public:
 static void MapContextFlyout(Microsoft::Maui::IViewHandler ^ handler, Microsoft::Maui::IView ^ view);
public static void MapContextFlyout (Microsoft.Maui.IViewHandler handler, Microsoft.Maui.IView view);
static member MapContextFlyout : Microsoft.Maui.IViewHandler * Microsoft.Maui.IView -> unit
Public Shared Sub MapContextFlyout (handler As IViewHandler, view As IView)

Parameters

handler
IViewHandler

The associated handler.

view
IView

The associated IView instance.

Remarks

If the view can't be cast to a IContextFlyoutElement, this method does nothing.

Applies to