Click or drag to resize

DialogT Class

Custom modal dialog with a specified result type
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class Dialog<T> : Dialog

Type Parameters

T
Type result type of the dialog

The DialogT type exposes the following members.

Constructors
  NameDescription
Public methodDialogT
Initializes a new instance of the DialogT class
Top
Properties
  NameDescription
Public propertyResult
Gets or sets the result of the dialog
Top
Methods
  NameDescription
Public methodClose
Close the dialog with the specified result
Public methodShowModal
Shows the dialog and blocks until the user closes the dialog
Public methodShowModal(Control)
Shows the dialog and blocks until the user closes the dialog
Public methodShowModalAsync
Shows the dialog modally asynchronously
Public methodShowModalAsync(Control)
Shows the dialog modally asynchronously
Top
Remarks
This provides a way to show a modal dialog with custom contents to the user. A dialog will block user input from the owner form until the dialog is closed.
See Also