Methods
Name |
---|
ShowAsync |
ShowErrorAsync |
ShowSuccessAsync |
ShowInfoAsync |
ShowQuestionAsync |
ShowWarningAsync |
Example
1 | await MessageBox.ShowAsync(txtContent.Text?.ToString(), txtTitle.Text?.ToString(), MessageBoxButtons.OKCancel); |
If you want to show a Underlay (SmokeLayer or SystemBackdrop), you should specify an OwnerWindow
.
Demo
you can run demo and see this feature.