You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/Demo/Shared/Pages/MessageBox/MessageBoxPage.razor
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,8 @@
35
35
<p>
36
36
When both the <code>PrimaryButton</code> and <code>SecondaryButton</code> properties are set, the <code>MessageBox</code> will be
37
37
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
38
-
outside of the dialog. Clicking <code>PrimaryButton</code> will return <code>true</code> and clicking <code>SecondaryButton</code> will
39
-
return <code>false</code> as the dialog result. See the Console log for these return values.
38
+
outside of the dialog. The <code>DialogResult.Cancelled</code> property will reflect which button was pressed. Clicking <code>PrimaryButton</code> will return <code>false</code> for Cancelled and clicking <code>SecondaryButton</code> will
39
+
return <code>true</code>.
40
40
</p>
41
41
<p>
42
42
Internally, the <code>ShowMessageBox</code> methods call the <code>ShowDialog</code> methods. If is possible to directly call these methods and thereby have
0 commit comments