Displays a message window and write debug, which presents a debug message to the user.
| Windows | macOS | Gnome | |
|---|---|---|---|
| Light |   
 |   
 |   
 | 
| Dark |   
 |   
 |   
 | 
Public Events | |
| event< trace_message_dialog, dialog_closed_event_handler > | dialog_closed | 
| Occurs when the user close a message dialog box with dialog close button or other dialog buttons.   | |
Public Constructors | |
| trace_message_dialog () | |
| Initializes a new instance of the trace_message_dialog class.   | |
Public Properties | |
| xtd::forms::dialog_result | dialog_result () const noexcept | 
| Gets async dialog_result result after dialog box is closing.   | |
| xtd::string | message () const noexcept | 
| Gets the text message.   | |
| trace_message_dialog & | message (const xtd::string &message) | 
| Sets the text message.   | |
Public Methods | |
| void | reset () | 
| Resets all properties to empty string.   | |
| xtd::forms::dialog_result | show_dialog () | 
| Runs message dialog box.   | |
| xtd::forms::dialog_result | show_dialog (const iwin32_window &owner) | 
| Runs message dialog box.   | |
| void | show_sheet (const iwin32_window &owner) | 
| Runs message dialog box.   | |
| xtd::forms::dialog_result | show_sheet_dialog (const iwin32_window &owner) | 
| Runs message dialog box.   | |
Additional Inherited Members | |
  Public Member Functions inherited from xtd::object | |
| object ()=default | |
| Create a new instance of the ultimate base class object.   | |
| virtual bool | equals (const object &obj) const noexcept | 
| Determines whether the specified object is equal to the current object.   | |
| virtual size_t | get_hash_code () const noexcept | 
| Serves as a hash function for a particular type.   | |
| virtual type_object | get_type () const noexcept | 
| Gets the type of the current instance.   | |
| template<typename object_t > | |
| xtd::uptr< object_t > | memberwise_clone () const | 
| Creates a shallow copy of the current object.   | |
| virtual xtd::string | to_string () const noexcept | 
| Returns a xtd::string that represents the current object.   | |
  Static Public Member Functions inherited from xtd::object | |
| template<typename object_a_t , typename object_b_t > | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
| Determines whether the specified object instances are considered equal.   | |
| template<typename object_a_t , typename object_b_t > | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
| Determines whether the specified object instances are the same instance.   | |
  Protected Member Functions inherited from xtd::forms::component | |
| component () | |
| Initialises a new instance of the component class.   | |
| virtual bool | can_raise_events () const noexcept | 
| Gets a value indicating whether the component can raise an event.   | |
| bool | design_mode () const noexcept | 
| Gets a value that indicates whether the component is currently in design mode.   | |
| xtd::forms::trace_message_dialog::trace_message_dialog | ( | ) | 
Initializes a new instance of the trace_message_dialog class.
      
  | 
  noexcept | 
Gets async dialog_result result after dialog box is closing.
      
  | 
  noexcept | 
      
  | 
  inline | 
Sets the text message.
| message | The text message. | 
| void xtd::forms::trace_message_dialog::reset | ( | ) | 
Resets all properties to empty string.
      
  | 
  inline | 
Runs message dialog box.
      
  | 
  inline | 
Runs message dialog box.
      
  | 
  inline | 
Runs message dialog box.
      
  | 
  inline | 
Runs message dialog box.
| event<trace_message_dialog, dialog_closed_event_handler> xtd::forms::trace_message_dialog::dialog_closed | 
Occurs when the user close a message dialog box with dialog close button or other dialog buttons.