Table of Contents

Method Show

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

Show menu on screen.

public virtual 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.