Skip to main content
All docs
V24.1

HtmlContentPopup.Show(IWin32Window, Rectangle) Method

Displays the HtmlContentPopup as a popup window within the specified bounds.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void Show(
    IWin32Window owner,
    Rectangle bounds
)

Parameters

Name Type Description
owner IWin32Window

The window’s owner.

bounds Rectangle

The rectangle to fit the window.

Remarks

You can specify the window’s size in CSS code (see the Styles property of the HtmlContentPopup.HtmlTemplate object). This size setting overrides the size specified by the bounds parameter.

A popup window is hidden when a user clicks outside the window’s bounds.

Use the HtmlContentPopup.HideAutomatically and HtmlContentPopup.AutoHidingDelay properties to hide the popup automatically after a specific delay.

A popup can be closed when a user clicks any element within the popup (this is useful if you use HtmlContentPopup to create a menu of commands). Use the HtmlContentPopup.HideOnElementClick property to enable this feature.

See Also