xtd 1.0.0
Loading...
Searching...
No Matches
table_layout_panel.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "panel.hpp"
6
8namespace xtd {
10 namespace forms {
26 public:
28
31 table_layout_panel() = default;
33
35
39 [[nodiscard]] static auto create() -> table_layout_panel;
43 [[nodiscard]] static auto create(const xtd::drawing::point& location) -> table_layout_panel;
48 [[nodiscard]] static auto create(const xtd::drawing::point& location, const xtd::drawing::size& size) -> table_layout_panel;
54 [[nodiscard]] static auto create(const xtd::drawing::point& location, const xtd::drawing::size& size, const xtd::string& name) -> table_layout_panel;
58 [[nodiscard]] static auto create(const xtd::forms::control& parent) -> table_layout_panel;
78
79 protected:
81
83 auto on_layout(const xtd::event_args& e) -> void override;
85 };
86 }
87}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Defines the base class for controls, which are components with visual representation.
Definition control.hpp:81
virtual auto size() const noexcept -> xtd::drawing::size
Gets the height and width of the control.
virtual auto parent() const noexcept -> std::optional< xtd::forms::control_ref >
Gets the parent container of the control.
virtual auto name() const noexcept -> const xtd::string &
Gets the name of the control.
virtual auto location() const noexcept -> xtd::drawing::point
Gets the coordinates of the upper-left corner of the control relative to the upper-left corner of its...
Used to group collections of controls.
Definition panel.hpp:32
static auto create() -> table_layout_panel
A factory to create an xtd::forms::table_layout_panel.
static auto create(const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> table_layout_panel
A factory to create an xtd::forms::table_layout_panel with specified location, size,...
static auto create(const xtd::forms::control &parent, const xtd::drawing::point &location) -> table_layout_panel
A factory to create an xtd::forms::table_layout_panel with specified parent, and location.
static auto create(const xtd::forms::control &parent, const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> table_layout_panel
A factory to create an xtd::forms::table_layout_panel with specified parent, location,...
static auto create(const xtd::forms::control &parent) -> table_layout_panel
A factory to create an xtd::forms::table_layout_panel with specified parent.
auto on_layout(const xtd::event_args &e) -> void override
Raises the xtd::forms::control::layout event.
static auto create(const xtd::forms::control &parent, const xtd::drawing::point &location, const xtd::drawing::size &size) -> table_layout_panel
A factory to create an xtd::forms::table_layout_panel with specified parent, location,...
static auto create(const xtd::drawing::point &location, const xtd::drawing::size &size) -> table_layout_panel
A factory to create an xtd::forms::table_layout_panel with specified location, and size.
static auto create(const xtd::drawing::point &location) -> table_layout_panel
A factory to create an xtd::forms::table_layout_panel with specified location.
table_layout_panel()=default
Initialises a new instance of fixed layout panel class.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
@ e
The E key.
Definition keys.hpp:207
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::panel container.
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:32