xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
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
12
namespace
xtd
{
14
namespace
forms
{
26
class
component
:
public
xtd::object
{
27
struct
data
;
28
29
protected
:
31
34
component
();
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
}
xtd::forms::component::can_raise_events
virtual bool can_raise_events() const noexcept
Gets a value indicating whether the component can raise an event.
xtd::forms::component::component
component()
Initialises a new instance of the component class.
xtd::forms::component::design_mode
bool design_mode() const noexcept
Gets a value that indicates whether the component is currently in design mode.
xtd::object
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition
object.hpp:45
forms_export.hpp
Contains forms_export_ keyword.
forms_namespace_aliases.hpp
Contains namespace aliases.
xtd::sptr
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition
sptr.hpp:25
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::data
constexpr auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition
read_only_span.hpp:197
Generated on
for xtd by
Gammasoft
. All rights reserved.