xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <component.h>
Provides the base implementation and enables object sharing between applications.
Inherits xtd::object.
Inherited by xtd::forms::about_dialog, xtd::forms::background_worker, xtd::forms::busy_dialog, xtd::forms::common_dialog, xtd::forms::control, xtd::forms::exception_dialog, xtd::forms::image_list, xtd::forms::menu, xtd::forms::message_dialog, xtd::forms::progress_dialog, and xtd::forms::timer.
Protected Member Functions | |
component ()=default | |
Initialises a new instance of the component class. | |
virtual bool | can_raise_events () const |
Gets a value indicating whether the component can raise an event. | |
bool | design_mode () const |
Gets a value that indicates whether the component is currently in design mode. | |
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. | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const |
Gets the type of the current instance. | |
virtual xtd::ustring | to_string () const noexcept |
Returns a std::string that represents the current object. | |
Static Public Member Functions inherited from xtd::object | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. | |
|
protecteddefault |
Initialises a new instance of the component class.
|
inlineprotectedvirtual |
Gets a value indicating whether the component can raise an event.
Reimplemented in xtd::forms::control.
|
inlineprotected |
Gets a value that indicates whether the component is currently in design mode.