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.ShowDialog(IWin32Window, Rectangle) Method

Displays the HtmlContentPopup object as a modal window within the specified bounds.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public DialogResult ShowDialog(
    IWin32Window owner,
    Rectangle bounds
)

#Parameters

Name Type Description
owner IWin32Window

The window’s owner.

bounds Rectangle

The rectangle to fit the window.

#Returns

Type Description
DialogResult

The dialog’s result.

#Remarks

You can also specify the window’s size in CSS code (see the Styles property of the HtmlContentPopup.HtmlTemplate object).

Use the HtmlContentPopup.Close method to close the dialog window.

See Also