forked from dereklakin/MessageBoxService
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMessageBoxServiceButton.cs
More file actions
32 lines (29 loc) · 1.08 KB
/
MessageBoxServiceButton.cs
File metadata and controls
32 lines (29 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
namespace PixelLab.Common
{
/// <summary>
/// Specifies the buttons that are displayed by the message box service. Used as an argument
/// to the <see cref="MessageBoxService.Show"/> method.
/// </summary>
/// <remarks>The value of the button that a user taps is returned by
/// <see cref="MessageBoxService.Show"/> and is one of the values of the
/// <see cref="MessageBoxResult"/> enumeration.</remarks>
public enum MessageBoxServiceButton
{
/// <summary>
/// The message box service displays an <b>OK</b> button.
/// </summary>
OK = 0,
/// <summary>
/// The message box service displays <b>OK</b> and <b>Cancel</b> buttons.
/// </summary>
OKCancel = 1,
/// <summary>
/// The message box service displays <b>Yes</b>, <b>No</b>, and <b>Cancel</b> buttons.
/// </summary>
YesNoCancel = 2,
/// <summary>
/// The message box service displays <b>Yes</b> and <b>No</b> buttons.
/// </summary>
YesNo = 3
}
}