WPFMessageBoxServiceShow Method (Object, String)DW.WPFToolkit Documentation
Displays a message box in front of the specified window. The message box displays a message and returns a result.

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

C#
public WPFMessageBoxResult Show(
	Object ownerKey,
	string messageBoxText
)

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.

Return Value

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

Implements

IWPFMessageBoxServiceShow(Object, String)
See Also

Reference