IWPFMessageBoxServiceShow Method (String, String, WPFMessageBoxButtons, WPFMessageBoxImage, WPFMessageBoxResult, WPFMessageBoxOptions)DW.WPFToolkit Documentation
Displays a message box that has a message, title bar caption, button, and icon; and that accepts a default message box result, complies with the specified options, and returns a result.

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

C#
WPFMessageBoxResult Show(
	string messageBoxText,
	string caption,
	WPFMessageBoxButtons button,
	WPFMessageBoxImage icon,
	WPFMessageBoxResult defaultResult,
	WPFMessageBoxOptions options
)

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.
button
Type: DW.WPFToolkit.ControlsWPFMessageBoxButtons
A WPFMessageBoxButtons value that specifies which button or buttons to display.
icon
Type: DW.WPFToolkit.ControlsWPFMessageBoxImage
A WPFMessageBoxImage value that specifies the icon to display.
defaultResult
Type: DW.WPFToolkit.ControlsWPFMessageBoxResult
A WPFMessageBoxResult value that specifies the default result of the message box.
options
Type: DW.WPFToolkit.ControlsWPFMessageBoxOptions
A WPFMessageBoxOptions value object that specifies the options.

Return Value

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

Reference