Represents a dialog box that displays busy dialog.
Windows | macOS | Gnome | |
---|---|---|---|
Light | | | |
Dark | | | |
Public Constructors | |
busy_dialog () | |
Initializes a new instance of the busy_dialog class. | |
Public Properties | |
xtd::drawing::color | back_color () const noexcept |
Gets the background color for the dialog. | |
busy_dialog & | back_color (const xtd::drawing::color &color) |
Sets the background color for the dialog. | |
xtd::forms::dialog_appearance | dialog_appearance () const noexcept |
Gets the dialog appearance color for the dialog. | |
busy_dialog & | dialog_appearance (xtd::forms::dialog_appearance dialog_appearance) |
Sets the dialog appearance color for the dialog. | |
const xtd::string & | description () const noexcept |
Gets the product description. | |
busy_dialog & | description (const xtd::string &description) |
Sets the product description. | |
xtd::drawing::color | fore_color () const noexcept |
Gets the foreground color for the dialog. | |
busy_dialog & | fore_color (const xtd::drawing::color &color) |
Sets the foreground color for the dialog. | |
xtd::drawing::icon | icon () const noexcept |
Gets the product icon. | |
busy_dialog & | icon (const xtd::drawing::icon &icon) |
Sets the product icon. | |
busy_dialog & | icon (const xtd::drawing::image &image) |
Sets the product icon. | |
busy_dialog & | icon (const xtd::drawing::bitmap &bitmap) |
Sets the product icon. | |
double | opacity () const noexcept |
Gets the dialog opacity. | |
busy_dialog & | opacity (double opacity) |
Gets the dialog opacity. | |
const xtd::string & | text () const noexcept |
Gets the dialog title. | |
busy_dialog & | text (const xtd::string &text) |
Sets the dialog title. | |
Public Methods | |
void | hide () |
Hides busy dialog box. | |
void | reset () |
Resets all properties to empty string. | |
void | show () |
Runs busy dialog box. | |
void | show (const iwin32_window &owner) |
Runs busy 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::busy_dialog::busy_dialog | ( | ) |
Initializes a new instance of the busy_dialog class.
|
noexcept |
Gets the background color for the dialog.
busy_dialog & xtd::forms::busy_dialog::back_color | ( | const xtd::drawing::color & | color | ) |
Sets the background color for the dialog.
color | A xtd::drawing::color that represents the background color of the dialog. |
|
noexcept |
Gets the dialog appearance color for the dialog.
busy_dialog & xtd::forms::busy_dialog::dialog_appearance | ( | xtd::forms::dialog_appearance | dialog_appearance | ) |
Sets the dialog appearance color for the dialog.
dialog_appearance | A xtd::forms::dialog_appearance that represents the dialog appearance of the dialog. |
|
noexcept |
Gets the product description.
busy_dialog & xtd::forms::busy_dialog::description | ( | const xtd::string & | description | ) |
Sets the product description.
description | The product description. |
|
noexcept |
Gets the foreground color for the dialog.
busy_dialog & xtd::forms::busy_dialog::fore_color | ( | const xtd::drawing::color & | color | ) |
Sets the foreground color for the dialog.
color | A xtd::drawing::color that represents the foreground color of the dialog. |
|
noexcept |
busy_dialog & xtd::forms::busy_dialog::icon | ( | const xtd::drawing::icon & | icon | ) |
busy_dialog & xtd::forms::busy_dialog::icon | ( | const xtd::drawing::image & | image | ) |
busy_dialog & xtd::forms::busy_dialog::icon | ( | const xtd::drawing::bitmap & | bitmap | ) |
|
noexcept |
Gets the dialog opacity.
busy_dialog & xtd::forms::busy_dialog::opacity | ( | double | opacity | ) |
Gets the dialog opacity.
opacity | The dialog opacity. |
|
noexcept |
Gets the dialog title.
busy_dialog & xtd::forms::busy_dialog::text | ( | const xtd::string & | text | ) |
void xtd::forms::busy_dialog::hide | ( | ) |
Hides busy dialog box.
void xtd::forms::busy_dialog::reset | ( | ) |
Resets all properties to empty string.
void xtd::forms::busy_dialog::show | ( | ) |
Runs busy dialog box.
void xtd::forms::busy_dialog::show | ( | const iwin32_window & | owner | ) |
Runs busy dialog box.