Method SetPositionInDips
SetPositionInDips(PointD, SizeD, HVDropDownAlignment?)
Move the popup window to the right position, i.e. such that it is entirely visible.
public virtual void SetPositionInDips(PointD ptOrigin, SizeD size, HVDropDownAlignment? position = null)
Parameters
ptOriginPointDMust be given in screen coordinates.
sizeSizeDThe size of the popup window.
positionHVDropDownAlignment?The optional horizontal and vertical alignment of the popup relative to the control. If null, the default alignment is used.
Remarks
Default popup position is (ptOrigin + size) if it opens below and to the right (default), at (ptOrigin - size) if it opens above and to the left.