MessageDialog Class Reference

Specialized modal dialog for displaying warning messages. More...

Inheritance diagram for MessageDialog:
Dialog ContainerWidget Widget

List of all members.

Public Member Functions

 MessageDialog ()
 Constructor.
 MessageDialog (MessageDialogStyle style, string title, string message)
 Constructor.

Static Public Member Functions

static MessageDialog CreateAndShow (MessageDialogStyle style, string title, string message)
 Creates and displays a MessageDialog instance.

Protected Member Functions

internal override void Render ()
 Renders a scene graph.
override void DisposeSelf ()
 Frees used resources.

Properties

override float Width [get, set]
 Obtains and sets the width.
override float Height [get, set]
 Obtains and sets the height.
String Message [get, set]
 Obtains and sets the message.
String Title [get, set]
 Obtains and sets the title.
bool ShowTitle [get, set]
 Obtains and sets whether to display the title.
MessageDialogStyle Style [get, set]
 Obtains and sets the type of message dialog.

Events

EventHandler
< MessageDialogButtonEventArgs
ButtonPressed
 Handler called when the message dialog button is pressed.

Detailed Description

Specialized modal dialog for displaying warning messages.


Constructor & Destructor Documentation

MessageDialog ( MessageDialogStyle  style,
string  title,
string  message 
)

Constructor.

Parameters:
styleTypes of message dialogs
titleTitle character string
messageMessage character string

Member Function Documentation

static MessageDialog CreateAndShow ( MessageDialogStyle  style,
string  title,
string  message 
) [static]

Creates and displays a MessageDialog instance.

Parameters:
styleTypes of message dialogs
titleTitle character string
messageMessage character string