HtmlContentPopup.Show(IWin32Window, Rectangle) Method
Displays the HtmlContentPopup as a popup window within the specified bounds.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v25.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Show(IWin32Window, Rectangle) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.