Table of Contents

Method ShowPopup

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ShowPopup(Control)

Shows popup under bottom left corner of the specified control.

public virtual void ShowPopup(Control control)

Parameters

control Control

Control.

ShowPopup(PointD, SizeD)

Shows popup at the specified location.

public virtual void ShowPopup(PointD ptOrigin, SizeD sizePopup)

Parameters

ptOrigin PointD

Popup window location.

sizePopup SizeD

The size of the popup window.

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.