xtd 0.2.0
container_control.hpp
Go to the documentation of this file.
1
4#pragma once
6
8namespace xtd {
10 namespace forms {
26 public:
28
32 std::optional<control_ref> active_control() const noexcept;
38 void active_control(std::nullptr_t);
40
41 protected:
43
48
50
52 drawing::size measure_control() const noexcept override;
54
56 std::optional<control_ref> active_control_;
58 };
59 }
60}
drawing::size measure_control() const noexcept override
Measure this control.
container_control()
Initializes a new instance of the container_control class.
std::optional< control_ref > active_control() const noexcept
Gets the active control on the container control.
Defines the base class for controls, which are components with visual representation.
Definition control.hpp:81
virtual drawing::size size() const noexcept
Gets the height and width of the control.
scrollable_control()
Initialize a new instance of scrollable_control class.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::optional< type_t > optional
Represents the optional alias on std::optional.
Definition optional.hpp:25
std::reference_wrapper< control > control_ref
Represents a control reference.
Definition control_ref.hpp:25
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::forms::scrollable_control control.