Table of Contents

Method ShowInsideControlAligned

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

ShowInsideControlAligned(AbstractControl?, AbstractControl?, HVDropDownAlignment?, Action?)

Displays the context menu inside the specified container, aligned according to the specified alignment.

public virtual ObjectUniqueId? ShowInsideControlAligned(AbstractControl? container, AbstractControl? source = null, HVDropDownAlignment? align = null, Action? onClose = null)

Parameters

container AbstractControl

The container control in which the context menu will be displayed.

source AbstractControl

The control that triggered the context menu.

align HVDropDownAlignment?

The alignment of the context menu within the container. If null, the default alignment Center is used.

onClose Action

The action to be invoked when the context menu is closed.

Returns

ObjectUniqueId?