xtd 1.0.0
Loading...
Searching...
No Matches
xtd::forms::message_notifier Class Referencefinal
Inheritance diagram for xtd::forms::message_notifier:
xtd::forms::component xtd::object

Public Aliases

using message_notifier_button_collection

Public Events

xtd::event< message_notifier, xtd::forms::notifier_closed_event_handler > notifier_closed
xtd::event< message_notifier, xtd::forms::notifier_button_click_event_handler > button_click

Public Properties

auto buttons () const noexcept -> const message_notifier_button_collection &
auto buttons () noexcept -> message_notifier_button_collection &
auto close_timeout_enabled () const noexcept -> bool
auto close_timeout_enabled (bool value) noexcept -> message_notifier &
auto close_timeout_interval () const noexcept -> std::chrono::milliseconds
auto close_timeout_interval (std::chrono::milliseconds value) noexcept -> message_notifier &
auto close_timeout_interval_milliseconds (xtd::int32 value) noexcept -> message_notifier &
auto icon () const noexcept -> const xtd::drawing::image &
auto icon (const xtd::drawing::image &icon) noexcept -> message_notifier &
auto icon (const xtd::drawing::icon &value) noexcept -> message_notifier &
auto notifier_appearance () const noexcept -> xtd::forms::notifier_appearance
auto notifier_appearance (xtd::forms::notifier_appearance value) noexcept -> message_notifier &
auto message () const noexcept -> const xtd::string &
auto message (const xtd::string &value) noexcept -> message_notifier &
auto notifier_button_clicked () const noexcept -> std::optional< xtd::forms::message_notifier_button >
auto title () const noexcept -> const xtd::string &
auto title (const xtd::string &value) noexcept -> message_notifier &

Public Methods

auto reset () -> void
auto show () -> void
auto show (const iwin32_window &owner) -> void
auto on_notifier_closed (const xtd::forms::notifier_closed_event_args &e) -> void
auto on_button_click (const xtd::forms::notifier_button_click_event_args &e) -> void

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.

The documentation for this class was generated from the following file: