Skip to content

MessageBox.ShowDialog() method

Defined in

Type: MessageBox Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Deprecated

Use ShowDialogAsync instead

Attributes: [Obsolete("Use ShowDialogAsync instead")]

public bool? ShowDialog()

Summary: Shows the dialog.

Returns: bool? -- A bool.

Exceptions

TypeCondition
System.InvalidOperationException$"Use instead.