Method ShowAsDropDown
ShowAsDropDown(AbstractControl, Action?, HVDropDownAlignment?)
Shows the context menu as a drop-down menu under the specified control. This method uses native menu via handler.
public virtual void ShowAsDropDown(AbstractControl control, Action? afterShow = null, HVDropDownAlignment? position = null)
Parameters
controlAbstractControlThe control with which this context menu is associated.
afterShowActionThe action to be invoked after the menu is shown.
positionHVDropDownAlignment?The position of the drop-down menu.