Table of Contents

Method Show

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

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

Show menu on screen.

void Show(ContextMenu menuHandle, AbstractControl control, PointD? position = null, Action? onClose = null)

Parameters

menuHandle ContextMenu

The handle of the context menu to show.

control AbstractControl

The target control.

position PointD?

The position in local coordinates.

onClose Action

The action to be invoked when the menu is closed.