Method GetDropDownPosition
GetDropDownPosition(SizeD, SizeD, HVDropDownAlignment?)
Calculates the position of a dropdown relative to a specified SizeD.
public static PointD GetDropDownPosition(SizeD ownerSize, SizeD popupSize, HVDropDownAlignment? position = null)
Parameters
ownerSizeSizeDThe SizeD used as the reference for positioning the dropdown.
popupSizeSizeDSize of the drop-down control.
positionHVDropDownAlignment?An optional alignment specifying the horizontal and vertical position of the dropdown relative to the SizeD. If null, the dropdown is positioned at the bottom-left corner.