IWPFMessageBoxServiceShow Method (Object, String, String, WPFMessageBoxButtons)DW.WPFToolkit Documentation
Displays a message box in front of the specified window. The message box displays a message, title bar caption, and button; and it also returns a result.

Namespace: DW.WPFToolkit.Services
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
WPFMessageBoxResult Show(
	Object ownerKey,
	string messageBoxText,
	string caption,
	WPFMessageBoxButtons button
)

Parameters

ownerKey
Type: SystemObject
The key of the registered window by the RegisterOwner(Window, Object) that represents the owner window of the message box. If the key is null or no window is known with the key, the box will be called without an owner.
messageBoxText
Type: SystemString
A System.String that specifies the text to display.
caption
Type: SystemString
A System.String that specifies the title bar caption to display.
button
Type: DW.WPFToolkit.ControlsWPFMessageBoxButtons
A WPFMessageBoxButtons value that specifies which button or buttons to display.

Return Value

Type: WPFMessageBoxResult
A WPFMessageBoxResult value that specifies which message box button is clicked by the user.
See Also

Reference