MessageBoxResult enumeration¶
Identifies a single message box button, both as the button the user pressed and as the button that should be the default one.
Values¶
| name | value | description |
|---|---|---|
| None | 0 |
No button. Reported when the message box was dismissed without pressing one, and used to say that no particular button should be the default. |
| Ok | 1 |
The OK button. |
| Cancel | 2 |
The Cancel button. |
| Yes | 3 |
The Yes button. |
| No | 4 |
The No button. |
| Abort | 5 |
The Abort button. |
| Retry | 6 |
The Retry button. |
| Ignore | 7 |
The Ignore button. |
Remarks¶
The application services translate this to DialogResult, which is what IMessageBoxService returns.
See Also¶
- namespace Eremex.AvaloniaUI.Controls