메소드 | 설명 | |
---|---|---|
Show ( string text, string caption, MessageBoxButton button ) : MessageBoxResult |
Displays a message box that contains the specified text, title bar caption, and response buttons.
|
|
Show ( string text ) : void |
Displays a message box that contains the specified text and an OK button.
|
|
Show ( string text, string caption ) : void |
Displays a message box that contains the specified text, title bar caption, and an OK button.
|
|
Show ( string text, string caption, IEnumerable |
Displays a message box that contains the specified text, title bar caption, and response buttons.
|
|
ShowAsync ( string text, string caption, IEnumerable |
Displays a message box that contains the specified text, title bar caption, and response buttons.
|
public Show ( string text, string caption, MessageBoxButton button ) : MessageBoxResult | ||
text | string | The message to display. |
caption | string | The title of the message box. |
button | MessageBoxButton | A value that indicates the button or buttons to display. |
리턴 | MessageBoxResult |
public Show ( string text, string caption ) : void | ||
text | string | The message to display. |
caption | string | The title of the message box. |
리턴 | void |
public Show ( string text, string caption, IEnumerable |
||
text | string | The message to display. |
caption | string | The title of the message box. |
buttons | IEnumerable |
The captions for message box buttons. The maximum number of buttons is two. |
selectedButton | Action |
The |
리턴 | void |
public ShowAsync ( string text, string caption, IEnumerable |
||
text | string | The message to display. |
caption | string | The title of the message box. |
buttons | IEnumerable |
The captions for message box buttons. The maximum number of buttons is two. |
리턴 | Task |