Method ShowInContainer
ShowInContainer(AbstractControl, PointD?, HVDropDownAlignment?)
Displays the control as a popup within the specified container at the given position and alignment.
public virtual void ShowInContainer(AbstractControl container, PointD? position = null, HVDropDownAlignment? align = null)
Parameters
containerAbstractControlThe container control in which to display the popup. Cannot be null.
positionPointD?The position, in container coordinates, where the popup should appear. If null, the current mouse position is used.
alignHVDropDownAlignment?The alignment of the popup relative to the container. If null, the default alignment is used.
Remarks
If the popup is already displayed in another container, it will be removed from that container before being shown in the new one. The popup's position and size are adjusted to ensure it remains within the bounds of the specified container.