Click or drag to resize

IGuiFactoryServiceYesNoCancelMessageBox Method

Shows a message box with a questtion to be answered either by YES, NO, or CANCEL.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
bool? YesNoCancelMessageBox(
	string text,
	string caption,
	bool? defaultAnswer
)

Parameters

text  String
The question text.
caption  String
The caption of the dialog box.
defaultAnswer  NullableBoolean
If true, the default answer is "yes", if false the default answer is "no", if null the default answer is "Cancel".

Return Value

NullableBoolean
True if the user answered with Yes, false if the user answered No, null if the user pressed Cancel.
See Also