Share via


IElementHandler.SetMauiContext(IMauiContext) Method

Definition

Sets the .NET MAUI context for the element handler.

public:
 void SetMauiContext(Microsoft::Maui::IMauiContext ^ mauiContext);
public void SetMauiContext (Microsoft.Maui.IMauiContext mauiContext);
abstract member SetMauiContext : Microsoft.Maui.IMauiContext -> unit
Public Sub SetMauiContext (mauiContext As IMauiContext)

Parameters

mauiContext
IMauiContext

The .NET MAUI context to set.

Applies to