WPFMessageBoxShow Method (String, String, WPFMessageBoxButtons)DW.WPFToolkit Documentation
Displays a message box that has a message and that returns a result.

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

C#
public static WPFMessageBoxResult Show(
	string messageBoxText,
	string caption,
	WPFMessageBoxButtons buttons
)

Parameters

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.
buttons
Type: DW.WPFToolkit.ControlsWPFMessageBoxButtons
A DW.WPFToolkit.Controls.WPFMessageBoxButtons value that specifies which button or buttons to display.

Return Value

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

Reference