xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
container_control.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
scrollable_control.hpp
"
6
8
namespace
xtd
{
10
namespace
forms
{
25
class
forms_export_
container_control
:
public
scrollable_control
{
26
public
:
28
32
std::optional<control_ref>
active_control
() const noexcept;
35
void
active_control
(const
control
&
active_control
);
38
void
active_control
(std::nullptr_t);
40
41
protected:
43
46
container_control
();
48
50
52
drawing
::
size
measure_control
() const noexcept override;
54
56
std::
optional
<
control_ref
> active_control_;
58
};
59
}
60
}
xtd::forms::container_control::measure_control
drawing::size measure_control() const noexcept override
Measure this control.
xtd::forms::container_control::container_control
container_control()
Initializes a new instance of the container_control class.
xtd::forms::container_control::active_control
std::optional< control_ref > active_control() const noexcept
Gets the active control on the container control.
xtd::forms::control
Defines the base class for controls, which are components with visual representation.
Definition
control.hpp:82
xtd::forms::control::size
virtual drawing::size size() const noexcept
Gets the height and width of the control.
xtd::forms::scrollable_control::scrollable_control
scrollable_control()
Initialize a new instance of scrollable_control class.
forms_export_
#define forms_export_
Define shared library export.
Definition
forms_export.hpp:13
xtd::optional
std::optional< type_t > optional
Represents the optional alias on std::optional.
Definition
optional.hpp:26
xtd::forms::control_ref
xtd::ref< control > control_ref
Represents a control reference.
Definition
control_ref.hpp:25
xtd::drawing
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition
actions_system_images.hpp:10
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
scrollable_control.hpp
Contains xtd::forms::scrollable_control control.
Generated on
for xtd by
Gammasoft
. All rights reserved.