xtd 0.2.0
Loading...
Searching...
No Matches
fixed_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 fixed_layout_panel() = default;
33
35
43 static fixed_layout_panel create(const drawing::point& location);
54 static fixed_layout_panel create(const drawing::point& location, const drawing::size& size, const xtd::string& name);
58 static fixed_layout_panel create(const control& parent);
63 static fixed_layout_panel create(const control& parent, const drawing::point& location);
69 static fixed_layout_panel create(const control& parent, const drawing::point& location, const drawing::size& size);
76 static fixed_layout_panel create(const control& parent, const drawing::point& location, const drawing::size& size, const xtd::string& name);
78
79 protected:
81
87 xtd::uptr<xtd::object> clone() const override;
88
89 void on_layout(const xtd::event_args& e) override;
91 };
92 }
93}
Represents text as a sequence of character units.
Definition basic_string.hpp:79
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:31
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
Used to group collections of fixed aligned controls.
Definition fixed_layout_panel.hpp:25
fixed_layout_panel()=default
Initialises a new instance of fixed layout panel class.
static fixed_layout_panel create(const control &parent, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::fixed_layout_panel with specified parent, location,...
static fixed_layout_panel create(const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::fixed_layout_panel with specified location, and size.
xtd::uptr< xtd::object > clone() const override
Creates a new object that is a copy of the current instance.
static fixed_layout_panel create()
A factory to create an xtd::forms::fixed_layout_panel.
static fixed_layout_panel create(const control &parent, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::fixed_layout_panel with specified parent, location,...
static fixed_layout_panel create(const control &parent, const drawing::point &location)
A factory to create an xtd::forms::fixed_layout_panel with specified parent, and location.
void on_layout(const xtd::event_args &e) override
Raises the xtd::forms::control::layout event.
static fixed_layout_panel create(const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::fixed_layout_panel with specified location, size,...
static fixed_layout_panel create(const drawing::point &location)
A factory to create an xtd::forms::fixed_layout_panel with specified location.
static fixed_layout_panel create(const control &parent)
A factory to create an xtd::forms::fixed_layout_panel with specified parent.
Used to group collections of controls.
Definition panel.hpp:32
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::unique_ptr< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.hpp:25
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
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::style_sheets::panel class.