xtd 0.2.0
container_control.h
Go to the documentation of this file.
1 #pragma once
5 #include "scrollable_control.h"
6 
8 namespace xtd {
10  namespace forms {
23  class forms_export_ container_control : public scrollable_control {
24  public:
26 
30  std::optional<control_ref> active_control() const noexcept;
33  void active_control(const control& active_control);
36  void active_control(std::nullptr_t);
38 
39  protected:
41 
46 
48 
50  drawing::size measure_control() const noexcept override;
52 
54  std::optional<control_ref> active_control_;
56  };
57  }
58 }
Provides focus-management functionality for controls that can function as a container for other contr...
Definition: container_control.h:23
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::scrollable_control control.
Defines a base class for controls that support auto-scrolling behavior.
Definition: scrollable_control.h:20
Defines the base class for controls, which are components with visual representation.
Definition: control.h:78
If true, the control is a container-like control.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13