Back to Devexpress

HtmlContentPopup.ShowDialog(IWin32Window, Rectangle) Method

windowsforms-devexpress-dot-xtraeditors-dot-htmlcontentpopup-dot-showdialog-x28-system-dot-windows-dot-forms-dot-iwin32window-system-dot-drawing-dot-rectangle-x29.md

latest2.1 KB
Original Source

HtmlContentPopup.ShowDialog(IWin32Window, Rectangle) Method

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public DialogResult ShowDialog(
    IWin32Window owner,
    Rectangle bounds
)
vb
Public Function ShowDialog(
    owner As IWin32Window,
    bounds As Rectangle
) As DialogResult

Parameters

NameTypeDescription
ownerIWin32Window

The window’s owner.

| | bounds | Rectangle |

The rectangle to fit the window.

|

Returns

TypeDescription
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

Close

HtmlContentPopup Class

HtmlContentPopup Members

DevExpress.XtraEditors Namespace