#include <component.h>
Provides the base implementation and enables object sharing between applications.
- Namespace
- xtd::forms
- Library
- xtd.forms
|
virtual bool | can_raise_events () const noexcept |
| Gets a value indicating whether the component can raise an event. More...
|
|
bool | design_mode () const noexcept |
| Gets a value that indicates whether the component is currently in design mode. More...
|
|
|
| object ()=default |
| Create a new instance of the ultimate base class object. More...
|
|
bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. More...
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. More...
|
|
template<typename object_t > |
std::unique_ptr< object_t > | memberwise_clone () const noexcept |
| Gets the type of the current instance. More...
|
|
virtual xtd::ustring | to_string () const noexcept |
| Returns a sxd::ustring that represents the current object. More...
|
|
static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More...
|
|
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More...
|
|
◆ component()
xtd::forms::component::component |
( |
| ) |
|
|
protected |
Initialises a new instance of the component class.
◆ can_raise_events()
virtual bool xtd::forms::component::can_raise_events |
( |
| ) |
const |
|
protectedvirtualnoexcept |
Gets a value indicating whether the component can raise an event.
- Returns
- true if the component can raise events; otherwise, false. The default is true.
Reimplemented in xtd::forms::control.
◆ design_mode()
bool xtd::forms::component::design_mode |
( |
| ) |
const |
|
protectednoexcept |
Gets a value that indicates whether the component is currently in design mode.
- Returns
- true if the component is in design mode; otherwise, false.
The documentation for this class was generated from the following file: