Provides the base implementation and enables object sharing between applications.
- Header
#include <xtd/forms/component>
- Namespace
- xtd::forms
- Library
- xtd.forms
|
| | 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.
|
| |
|
| | 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 xtd::size | 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<class object_t> |
| xtd::unique_ptr_object< 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.
|
| |
| template<class object_a_t, class 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<class object_a_t, class 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.
|
| |
◆ 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: