xtd 0.2.0
component.h
Go to the documentation of this file.
1 #pragma once
5 #include "../forms_export.h"
6 #include "../forms_namespace_aliases.h"
7 #include <xtd/object>
8 #include <cstdint>
9 
11 namespace xtd {
13  namespace forms {
23  class component : public xtd::object {
24  struct data;
25 
26  protected:
28 
31  component();
33 
35 
40  virtual bool can_raise_events() const noexcept;
41 
44  bool design_mode() const noexcept;
46 
47  private:
48  std::shared_ptr<data> data_;
49  };
50  }
51 }
virtual bool can_raise_events() const noexcept
Gets a value indicating whether the component can raise an event.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
component()
Initialises a new instance of the component class.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Provides the base implementation and enables object sharing between applications. ...
Definition: component.h:23
bool design_mode() const noexcept
Gets a value that indicates whether the component is currently in design mode.