Click or drag to resize

Dialog Class

Custom modal dialog
Inheritance Hierarchy

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

The Dialog type exposes the following members.

Constructors
  NameDescription
Public methodDialog
Initializes a new instance of the Dialog class
Top
Properties
  NameDescription
Public propertyAbortButton
Gets or sets the abort button.
Public propertyDefaultButton
Gets or sets the default button.
Public propertyDisplayMode
Gets or sets the display mode hint
Public propertyNegativeButtons
Gets the negative buttons list, these buttons are automatically added to the dialog.
Public propertyPositiveButtons
Gets the positive buttons list, these buttons are automatically added to the dialog.
Top
Methods
  NameDescription
Public methodShowModal
Shows the dialog modally, blocking the current thread until it is closed.
Public methodShowModal(Control)
Shows the dialog modally, blocking the current thread until it is closed.
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