WidgetDialog

Description

class Tinman.Engine.Widgets.WidgetDialog

Derived from

Container
ITextProperty

Extended by

Example_WidgetDialog sealed

Base class for widget dialogs.

Public / Constructors

Build


[OwnerReturn]
public static method Build → ()

returns → WidgetDialogBuilder

The dialog builder.

Builds a new widget dialog.

Widget​Dialog


public constructor WidgetDialog → ()

Creates a new instance of WidgetDialog.

Public / Attributes

Identifier


public attribute Identifier → (get)

value : string

The dialog identifier or null

The dialog identifier that has been passed to IWidgetGui.DialogShow.

On​Dialog​Event


public attribute OnDialogEvent → (get)

value : IEventGeneric<DialogEventArgs>

[not-null]
The event object.

Event for dialog events.

User​Data


public attribute UserData → (get,set)

value : object

The user data object or null.

Optional user data object of this widget dialog.

Protected / Methods

Cancel


protected method Cancel → ()

Cancels this dialog.

Ok


protected method Ok → (1)

value opt : object = null

Optional result value.

Finishes this dialog.