xtd 0.2.0
Loading...
Searching...
No Matches
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;
35 void active_control(const control& active_control);
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}
Provides focus-management functionality for controls that can function as a container for other contr...
Definition container_control.hpp:25
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
Defines a base class for controls that support auto-scrolling behavior.
Definition scrollable_control.hpp:22
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::optional< type_t > optional
Represents the null_opt alias on std::nullopt_t.
Definition optional.hpp:181
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
std::reference_wrapper< control > control_ref
Represents a control reference.
Definition control_ref.hpp:25
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::scrollable_control control.