C# 클래스 Cimbalino.Phone.Toolkit.Services.MessageBoxService

Represents an implementation of the IMessageBoxService.
상속: IMessageBoxService
파일 보기 프로젝트 열기: Cimbalino/Cimbalino-Phone-Toolkit

공개 메소드들

메소드 설명
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 buttons, Action selectedButton ) : void

Displays a message box that contains the specified text, title bar caption, and response buttons.

ShowAsync ( string text, string caption, IEnumerable buttons ) : Task

Displays a message box that contains the specified text, title bar caption, and response buttons.

메소드 상세

Show() 공개 메소드

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

Show() 공개 메소드

Displays a message box that contains the specified text and an OK button.
public Show ( string text ) : void
text string The message to display.
리턴 void

Show() 공개 메소드

Displays a message box that contains the specified text, title bar caption, and an OK button.
public Show ( string text, string caption ) : void
text string The message to display.
caption string The title of the message box.
리턴 void

Show() 공개 메소드

Displays a message box that contains the specified text, title bar caption, and response buttons.
public Show ( string text, string caption, IEnumerable buttons, Action selectedButton ) : void
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 to be called once the operation is finished.
리턴 void

ShowAsync() 공개 메소드

Displays a message box that contains the specified text, title bar caption, and response buttons.
public ShowAsync ( string text, string caption, IEnumerable buttons ) : Task
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