xtd 1.0.0
Loading...
Searching...
No Matches
splitter_panel.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "panel.hpp"
6
8namespace xtd {
10 namespace forms {
12 class split_container;
14
28 friend class xtd::forms::split_container;
29 protected:
31
34 splitter_panel() = default;
36
38
42 [[nodiscard]] static auto create() -> splitter_panel;
46 [[nodiscard]] static auto create(const drawing::point& location) -> splitter_panel;
51 [[nodiscard]] static auto create(const drawing::point& location, const drawing::size& size) -> splitter_panel;
57 [[nodiscard]] static auto create(const drawing::point& location, const drawing::size& size, const xtd::string& name) -> splitter_panel;
61 [[nodiscard]] static auto create(const control& parent) -> splitter_panel;
66 [[nodiscard]] static auto create(const control& parent, const drawing::point& location) -> splitter_panel;
72 [[nodiscard]] static auto create(const control& parent, const drawing::point& location, const drawing::size& size) -> splitter_panel;
79 [[nodiscard]] static auto create(const control& parent, const drawing::point& location, const drawing::size& size, const xtd::string& name) -> splitter_panel;
81 };
82 }
83}
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
Represents a control consisting of a movable bar that divides a container's display area into two res...
Definition split_container.hpp:27
static auto create(const drawing::point &location, const drawing::size &size) -> splitter_panel
A factory to create an xtd::forms::splitter_panel with specified location, and size.
static auto create(const control &parent, const drawing::point &location, const drawing::size &size) -> splitter_panel
A factory to create an xtd::forms::splitter_panel with specified parent, location,...
static auto create(const drawing::point &location, const drawing::size &size, const xtd::string &name) -> splitter_panel
A factory to create an xtd::forms::splitter_panel with specified location, size, and name.
static auto create(const control &parent) -> splitter_panel
A factory to create an xtd::forms::splitter_panel with specified parent.
static auto create(const control &parent, const drawing::point &location) -> splitter_panel
A factory to create an xtd::forms::splitter_panel with specified parent, and location.
static auto create(const control &parent, const drawing::point &location, const drawing::size &size, const xtd::string &name) -> splitter_panel
A factory to create an xtd::forms::splitter_panel with specified parent, location,...
static auto create(const drawing::point &location) -> splitter_panel
A factory to create an xtd::forms::splitter_panel with specified location.
splitter_panel()=default
Initializes a new instance of splitter_panel.
static auto create() -> splitter_panel
A factory to create an xtd::forms::splitter_panel.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
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