Back to API Home

The MessageBox type exposes the following members.

Methods

  NameDescription
Public methodClose(DialogResult)
Closes the dialog box.
(Inherited from Dialog.)
Public methodClose(DialogResult, IDictionary)
Closes the dialog box.
(Inherited from Dialog.)
Public methodEnsureVisible
Positions the dialog so that at least some of the header is in view. Otherwise it may be possible for the user to place the dialog somewhere unreachable.
(Inherited from Dialog.)
Public methodHideLoadingOverlay
Hides any visible loading overlay over the dialog.
(Inherited from Dialog.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate()()()().
(Overrides Dialog..::..OnApplyTemplate()()()().)
Public methodShow()()()()
Shows the dialog modally.
(Inherited from Dialog.)
Public methodShow(Boolean)
Shows the dialog.
(Inherited from Dialog.)
Public methodStatic memberShowAsync(String, String)
Shows a message box with no icon and an OK button.
Public methodStatic memberShowAsync(String, String, MessageBoxIcon)
Shows a message box with the with an OK button.
Public methodStatic memberShowAsync(String, String, MessageBoxResultCallback)
Shows a message box with no icon and an OK button.
Public methodStatic memberShowAsync(String, String, MessageBoxIcon, MessageBoxButtons)
Shows a message box, with the first button as the default button.
Public methodStatic memberShowAsync(String, String, MessageBoxIcon, MessageBoxResultCallback)
Shows a message box with the with an OK button.
Public methodStatic memberShowAsync(String, String, MessageBoxIcon, MessageBoxButtons, MessageBoxDefaultButton)
Shows a message box.
Public methodStatic memberShowAsync(String, String, MessageBoxIcon, MessageBoxButtons, MessageBoxResultCallback)
Shows a message box, with the first button as the default button.
Public methodStatic memberShowAsync(String, String, MessageBoxIcon, MessageBoxButtons, MessageBoxDefaultButton, MessageBoxResultCallback)
Shows a message box.
Public methodStatic memberShowAsync(String, String, MessageBoxIcon, IEnumerable<(Of <<'(Command>)>>), Command, MessageBoxResultCallback)
Shows a message box.
Public methodStatic memberShowAsync(String, String, MessageBoxIcon, MessageBoxButtons, MessageBoxDefaultButton, Boolean, MessageBoxResultCallback)
Shows a message box.
Public methodShowLoadingOverlay()()()()
Shows the loading overlay.
(Inherited from Dialog.)
Public methodShowLoadingOverlay(String)
Shows the loading overlay with a specified message.
(Inherited from Dialog.)

See Also