xtd 0.2.0
Loading...
Searching...
No Matches
container_control.h
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.h: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.h:81
Defines a base class for controls that support auto-scrolling behavior.
Definition scrollable_control.h:22
#define forms_export_
Define shared library export.
Definition forms_export.h:13
std::optional< type_t > optional
Represents the null_opt alias on std::nullopt_t.
Definition optional.h:181
size_t size
Represents a size of any object in bytes.
Definition size.h:23
std::reference_wrapper< control > control_ref
Represents a control reference.
Definition control_ref.h:25
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
Contains xtd::forms::scrollable_control control.