xtd 0.2.0
Loading...
Searching...
No Matches
component.h
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.h"
6#include "../forms_namespace_aliases.h"
7#include <xtd/object>
8#include <cstdint>
9
11namespace xtd {
13 namespace forms {
23 class component : public xtd::object {
24 struct data;
25
26 protected:
28
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}
Provides the base implementation and enables object sharing between applications.
Definition component.h:23
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.h:32
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10