xtd 0.2.0
flow_layout_panel.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "panel.hpp"
6
8namespace xtd {
10 namespace forms {
92 }
93}
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 const xtd::string & name() const noexcept
Gets the name of the control.
virtual std::optional< control_ref > parent() const noexcept
Gets the parent container of the control.
static flow_layout_panel create()
A factory to create an xtd::forms::flow_layout_panel.
static flow_layout_panel create(const control &parent, const drawing::point &location)
A factory to create an xtd::forms::flow_layout_panel with specified parent, and location.
static flow_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::flow_layout_panel with specified parent, location,...
static flow_layout_panel create(const control &parent, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::flow_layout_panel with specified parent, location,...
static flow_layout_panel create(const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::flow_layout_panel with specified location, and size.
flow_layout_panel()=default
Initialises a new instance of fixed layout panel class.
xtd::uptr< xtd::object > clone() const override
Creates a new object that is a copy of the current instance.
static flow_layout_panel create(const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::flow_layout_panel with specified location, size,...
void on_layout(const xtd::event_args &e) override
Raises the xtd::forms::control::layout event.
static flow_layout_panel create(const control &parent)
A factory to create an xtd::forms::flow_layout_panel with specified parent.
static flow_layout_panel create(const drawing::point &location)
A factory to create an xtd::forms::flow_layout_panel with specified location.
panel()
Initialises a new instance of panel class.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
xtd::unique_ptr_object< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.hpp:25
@ e
The E key.
Definition keys.hpp:207
@ location
Specifies that both the x and y coordinates of the control are defined.
Definition bounds_specified.hpp:30
@ size
Specifies that both the width and height property values of the control are defined.
Definition bounds_specified.hpp:36
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:31