diff --git a/examples/Demo/Shared/Pages/MessageBox/MessageBoxPage.razor b/examples/Demo/Shared/Pages/MessageBox/MessageBoxPage.razor index 1dd60c3af0..01f0eebe58 100644 --- a/examples/Demo/Shared/Pages/MessageBox/MessageBoxPage.razor +++ b/examples/Demo/Shared/Pages/MessageBox/MessageBoxPage.razor @@ -35,8 +35,8 @@
When both the PrimaryButton and SecondaryButton properties are set, the MessageBox will be
displayed as a modal. This means that the user has to click one of the buttons to close the dialog. It cannot be closed by clicking
- outside of the dialog. Clicking PrimaryButton will return true and clicking SecondaryButton will
- return false as the dialog result. See the Console log for these return values.
+ outside of the dialog. The DialogResult.Cancelled property will reflect which button was pressed. Clicking PrimaryButton will return false for Cancelled and clicking SecondaryButton will
+ return true.
Internally, the ShowMessageBox methods call the ShowDialog methods. If is possible to directly call these methods and thereby have