 | IMessageBoxServiceShowAsync Method (String, String, IEnumerableString) |
Displays a message box that contains the specified text, title bar caption, and response buttons.
Namespace: Cimbalino.Toolkit.ServicesAssembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
SyntaxTask<int> ShowAsync(
string text,
string caption,
IEnumerable<string> buttons
)
Parameters
- text
- Type: SystemString
The message to display. - caption
- Type: SystemString
The title of the message box. - buttons
- Type: System.Collections.GenericIEnumerableString
The captions for message box buttons. The maximum number of buttons is two.
Return Value
Type:
TaskInt32The
Task object representing the asynchronous operation.
Version InformationPortable
Supported in: 4.5
Windows
Supported in: 10.0, 8.1
Windows Phone
Supported in: 8.1
Windows Phone Silverlight
Supported in: 8.1, 8.0
See Also