Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HtmlContentPopup.Show(IWin32Window, Rectangle) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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