xtd 0.2.0
component.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.hpp"
6#include "../forms_namespace_aliases.hpp"
7#include <xtd/object>
8#include <xtd/sptr>
9#include <cstdint>
10
12namespace xtd {
14 namespace forms {
26 class component : public xtd::object {
27 struct data;
28
29 protected:
31
36
38
43 virtual bool can_raise_events() const noexcept;
44
47 bool design_mode() const noexcept;
49
50 private:
51 xtd::sptr<data> data_;
52 };
53 }
54}
Provides the base implementation and enables object sharing between applications.
Definition component.hpp:26
virtual bool can_raise_events() const noexcept
Gets a value indicating whether the component can raise an event.
component()
Initialises a new instance of the component class.
bool design_mode() const noexcept
Gets a value that indicates whether the component is currently in design mode.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:43
The xtd::shared_ptr_object is a shared pointer as std::shared_ptr.
Definition shared_ptr_object.hpp:30
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10