xtd 0.2.0
Loading...
Searching...
No Matches
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 <cstdint>
9
11namespace xtd {
13 namespace forms {
25 class component : public xtd::object {
26 struct data;
27
28 protected:
30
35
37
42 virtual bool can_raise_events() const noexcept;
43
46 bool design_mode() const noexcept;
48
49 private:
50 xtd::sptr<data> data_;
51 };
52 }
53}
Provides the base implementation and enables object sharing between applications.
Definition component.hpp:25
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:42
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
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