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.3179.0 (4.8.3179.0)
Syntax
C#
public static bool AskQuestion(
	string question,
	string? caption = null
)

Parameters

question  String

[Missing <param name="question"/> documentation for "M:Altaxo.Main.Services.MessageService.AskQuestion(System.String,System.String)"]

caption  String  (Optional)

[Missing <param name="caption"/> documentation for "M:Altaxo.Main.Services.MessageService.AskQuestion(System.String,System.String)"]

Return Value

Boolean

[Missing <returns> documentation for "M:Altaxo.Main.Services.MessageService.AskQuestion(System.String,System.String)"]

See Also