Click or drag to resize

TextWriterMessageServiceAskQuestion 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.Implementation
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public bool AskQuestion(
	string question,
	string? caption
)

Parameters

question  String
The question text.
caption  String
The dialog caption.

Return Value

Boolean
if the user answered Yes; otherwise, .

Implements

IMessageServiceAskQuestion(String, String)
See Also