xtd 0.2.0
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 split_container;
29 protected:
31
34 splitter_panel() = default;
36
38
81
82 protected:
84
90 xtd::uptr<xtd::object> clone() const override;
92 };
93 }
94}
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.
panel()
Initialises a new instance of panel class.
Represents a control consisting of a movable bar that divides a container's display area into two res...
Definition split_container.hpp:27
static splitter_panel create(const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::splitter_panel with specified location, size, and name.
static splitter_panel create(const control &parent, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::splitter_panel with specified parent, location,...
static splitter_panel create(const control &parent, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::splitter_panel with specified parent, location,...
static splitter_panel create(const control &parent)
A factory to create an xtd::forms::splitter_panel with specified parent.
static splitter_panel create(const drawing::point &location)
A factory to create an xtd::forms::splitter_panel with specified location.
splitter_panel()=default
Initializes a new instance of splitter_panel.
static splitter_panel create()
A factory to create an xtd::forms::splitter_panel.
static splitter_panel create(const control &parent, const drawing::point &location)
A factory to create an xtd::forms::splitter_panel with specified parent, and location.
xtd::uptr< xtd::object > clone() const override
Creates a new object that is a copy of the current instance.
static splitter_panel create(const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::splitter_panel with specified location, and size.
#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
xtd::unique_ptr_object< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.hpp:25
@ 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