MessageBox Class

GeonBit.UI

MessageBox Class
Helper class to generate message boxes and prompts.
Inheritance Hierarchy
SystemObject  GeonBit.UI.UtilsMessageBox

Namespace:  GeonBit.UI.Utils
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class MessageBox

The MessageBox type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIsMsgBoxOpened
Get if there's a message box currently opened.
Public propertyStatic memberOpenedMsgBoxesCount
Count currently opened message boxes.
Top
Methods
  NameDescription
Public methodStatic memberShowMsgBox(String, String, String, NullableVector2)
Show a message box with just "OK".
Public methodStatic memberShowMsgBox(String, String, MessageBoxMsgBoxOption, Entity, NullableVector2, Action)
Show a message box with custom buttons and callbacks.
Top
Fields
  NameDescription
Public fieldStatic memberBackgroundFaderColor
Will block and fade background with this color while messages are opened.
Public fieldStatic memberDefaultMsgBoxSize
Default size to use for message boxes.
Public fieldStatic memberDefaultOkButtonText
Default text for OK button.
Top
See Also