Table of Contents

Method Show

Namespace
Alternet.Maui
Assembly
Alternet.UI.Maui.dll

Show(ContextMenu, AbstractControl, PointD?, Action?)

Show menu on screen.

public override void Show(ContextMenu menu, AbstractControl control, PointD? position = null, Action? onClose = null)

Parameters

menu ContextMenu
control AbstractControl

The target control.

position PointD?

The position in local coordinates.

onClose Action

The action to be invoked when the menu is closed.