Table of Contents

Class MessageBox

Namespace
OmegaGUI.Render
Assembly
OmegaGUI.dll

A message-box dialog

public class MessageBox : Dialog
Inheritance
MessageBox
Inherited Members
Extension Methods

Constructors

MessageBox(DialogManager)

Create a new message-box dialog

public MessageBox(DialogManager manager)

Parameters

manager DialogManager

The DialogManager instance that provides the resources for rendering of this dialog

Properties

Visible

public bool Visible { get; }

Property Value

bool

Methods

Reset()

public void Reset()

Show(string, MsgBoxType, Action<MsgBoxResult>)

public void Show(string text, MsgBoxType type, Action<MsgBoxResult> callback)

Parameters

text string
type MsgBoxType
callback Action<MsgBoxResult>