Method ShowPopup
ShowPopup(AbstractControl, HVDropDownAlignment?)
Displays a popup window near the specified control. If position is not specified, the popup is shown below and to the left of the control.
public virtual void ShowPopup(AbstractControl control, HVDropDownAlignment? position = null)
Parameters
controlAbstractControlThe control which is used to calculate the popup position. This parameter cannot be null.
positionHVDropDownAlignment?The optional horizontal and vertical alignment of the popup relative to the control. If null, the default alignment is used.
ShowPopup(PointD?, SizeD, HVDropDownAlignment?)
Shows popup at the specified location.
public virtual void ShowPopup(PointD? ptOrigin, SizeD sizePopup, HVDropDownAlignment? position = null)
Parameters
ptOriginPointD?Popup window location.
sizePopupSizeDThe 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
The popup is positioned at (ptOrigin + size) if it opens below and to the right (default), at (ptOrigin - sizePopup) if it opens above and to the left.
ShowPopup(HorizontalAlignment?, VerticalAlignment?, Display?, bool)
Shows popup window using the specified options. This method aligns popup window location inside the specified display's client area using given horizontal and vertical alignment.
public virtual void ShowPopup(HorizontalAlignment? horz, VerticalAlignment? vert, Display? display = null, bool shrinkSize = true)
Parameters
horzHorizontalAlignment?Horizontal alignment of the window inside display's client area.
vertVerticalAlignment?Vertical alignment of the window inside display's client area.
displayDisplayDisplay which client area is used as a container for the window.
shrinkSizeboolWhether to shrink size of the window to fit in the display client area. Optional. Default is
true.