Specifies the buttons that are displayed on a message box. Used as an argument of the Show method.
Assembly: PresentationFramework (in PresentationFramework.dll)
The message box displays an OK button.
The message box displays OK and Cancel buttons.
The message box displays Yes and No buttons.
The message box displays Yes, No, and Cancel buttons.
By default, the Show method of the MessageBox type displays a message box that has an OK button. You can use overloads of the Show method that accept a argument in order to specify different combinations of buttons, which include OK, OK/Cancel, Yes/No, and Yes/No/Cancel.
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0