Try Microsoft Edge A fast and secure browser that's designed for Windows 10 No thanks Get started
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies the buttons to include when you display a message box.
'Declaration Public Enumeration MessageBoxButton
This enumeration is used by the MessageBox.Show(String, String, MessageBoxButton) method overload.
The following code example demonstrates how to use this enumeration.
Dim result As MessageBoxResult = _ MessageBox.Show("Would you like to see the simple version?", _ "MessageBox Example", MessageBoxButton.OKCancel) If (result = MessageBoxResult.OK) Then MessageBox.Show("No caption, one button.") End If
Windows Phone