Click or drag to resize

MessageServiceAskQuestion Method

Asks the user a Yes/No question, using "Yes" as the default button. Returns true if yes was clicked, false if no was clicked.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static bool AskQuestion(
	string question,
	string? caption = null
)

Parameters

question  String
The question text.
caption  String  (Optional)
The dialog caption.

Return Value

Boolean
if the user answered Yes; otherwise, .
See Also