IGuiFactoryServiceYesNoCancelMessageBox Method |
Shows a message box with a questtion to be answered either by YES, NO, or CANCEL.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
NullableBooleanTrue if the user answered with Yes, false if the user answered No, null if the user pressed Cancel.
See Also