Displays a message window and write debug, which presents a debug message to the user.
| Windows | macOS | Gnome | |
|---|---|---|---|
| Light |
|
|
|
| Dark |
|
|
|
Public Events | |
| xtd::event< trace_message_dialog, xtd::forms::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 | |
| auto | dialog_result () const noexcept -> xtd::forms::dialog_result |
| Gets async dialog_result result after dialog box is closing. | |
| auto | message () const noexcept -> xtd::string |
| Gets the text message. | |
| auto | message (const xtd::string &message) -> trace_message_dialog & |
| Sets the text message. | |
Public Methods | |
| auto | reset () -> void |
| Resets all properties to empty string. | |
| auto | show_dialog () -> xtd::forms::dialog_result |
| Runs message dialog box. | |
| auto | show_dialog (const xtd::forms::iwin32_window &owner) -> xtd::forms::dialog_result |
| Runs message dialog box. | |
| auto | show_sheet (const xtd::forms::iwin32_window &owner) -> void |
| Runs message dialog box. | |
| auto | show_sheet_dialog (const xtd::forms::iwin32_window &owner) -> xtd::forms::dialog_result |
| Runs message dialog box. | |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual auto | equals (const object &obj) const noexcept -> bool |
| Determines whether the specified object is equal to the current object. | |
| virtual auto | get_hash_code () const noexcept -> xtd::usize |
| Serves as a hash function for a particular type. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| virtual auto | to_string () const -> xtd::string |
| Returns a xtd::string that represents the current object. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
| component () | |
| Initialises a new instance of the component class. | |
| virtual auto | can_raise_events () const noexcept -> bool |
| Gets a value indicating whether the component can raise an event. | |
| auto | design_mode () const noexcept -> bool |
| 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.
|
nodiscardnoexcept |
Gets async dialog_result result after dialog box is closing.
|
nodiscardnoexcept |
Gets the text message.
|
inline |
Sets the text message.
| message | The text message. |
| auto xtd::forms::trace_message_dialog::reset | ( | ) | -> void |
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.
| xtd::event<trace_message_dialog, xtd::forms::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.