Method ShowInsideControlAligned
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
containerAbstractControlThe container control in which the context menu will be displayed.
sourceAbstractControlThe control that triggered the context menu.
alignHVDropDownAlignment?The alignment of the context menu within the container. If null, the default alignment Center is used.
onCloseActionThe action to be invoked when the context menu is closed.