xtd 1.0.0
Loading...
Searching...
No Matches
h_scroll_bar.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "scroll_bar.hpp"
6
8namespace xtd {
10 namespace forms {
30 public:
32
37
39
43 [[nodiscard]] static auto create() -> h_scroll_bar;
47 [[nodiscard]] static auto create(const drawing::point& location) -> h_scroll_bar;
52 [[nodiscard]] static auto create(const drawing::point& location, const drawing::size& size) -> h_scroll_bar;
58 [[nodiscard]] static auto create(const drawing::point& location, const drawing::size& size, const xtd::string& name) -> h_scroll_bar;
62 [[nodiscard]] static auto create(int32 value) -> h_scroll_bar;
67 [[nodiscard]] static auto create(int32 value, const drawing::point& location) -> h_scroll_bar;
73 [[nodiscard]] static auto create(int32 value, const drawing::point& location, const drawing::size& size) -> h_scroll_bar;
80 [[nodiscard]] static auto create(int32 value, const drawing::point& location, const drawing::size& size, const xtd::string& name) -> h_scroll_bar;
85 [[nodiscard]] static auto create(int32 value, int32 maximum) -> h_scroll_bar;
91 [[nodiscard]] static auto create(int32 value, int32 maximum, const drawing::point& location) -> h_scroll_bar;
98 [[nodiscard]] static auto create(int32 value, int32 maximum, const drawing::point& location, const drawing::size& size) -> h_scroll_bar;
106 [[nodiscard]] static auto create(int32 value, int32 maximum, const drawing::point& location, const drawing::size& size, const xtd::string& name) -> h_scroll_bar;
112 [[nodiscard]] static auto create(int32 value, int32 minimum, int32 maximum) -> h_scroll_bar;
140 [[nodiscard]] static auto create(const control& parent) -> h_scroll_bar;
145 [[nodiscard]] static auto create(const control& parent, const drawing::point& location) -> h_scroll_bar;
151 [[nodiscard]] static auto create(const control& parent, const drawing::point& location, const drawing::size& size) -> h_scroll_bar;
158 [[nodiscard]] static auto create(const control& parent, const drawing::point& location, const drawing::size& size, const xtd::string& name) -> h_scroll_bar;
163 [[nodiscard]] static auto create(const control& parent, int32 value) -> h_scroll_bar;
169 [[nodiscard]] static auto create(const control& parent, int32 value, const drawing::point& location) -> h_scroll_bar;
176 [[nodiscard]] static auto create(const control& parent, int32 value, const drawing::point& location, const drawing::size& size) -> h_scroll_bar;
184 [[nodiscard]] static auto create(const control& parent, int32 value, const drawing::point& location, const drawing::size& size, const xtd::string& name) -> h_scroll_bar;
190 [[nodiscard]] static auto create(const control& parent, int32 value, int32 maximum) -> h_scroll_bar;
197 [[nodiscard]] static auto create(const control& parent, int32 value, int32 maximum, const drawing::point& location) -> h_scroll_bar;
205 [[nodiscard]] static auto create(const control& parent, int32 value, int32 maximum, const drawing::point& location, const drawing::size& size) -> h_scroll_bar;
214 [[nodiscard]] static auto create(const control& parent, int32 value, int32 maximum, const drawing::point& location, const drawing::size& size, const xtd::string& name) -> h_scroll_bar;
221 [[nodiscard]] static auto create(const control& parent, int32 value, int32 minimum, int32 maximum) -> h_scroll_bar;
229 [[nodiscard]] static auto create(const control& parent, int32 value, int32 minimum, int32 maximum, const drawing::point& location) -> h_scroll_bar;
250
251 protected:
253
255 [[nodiscard]] auto create_params() const noexcept -> xtd::forms::create_params override;
256 [[nodiscard]] auto default_size() const noexcept -> xtd::drawing::size override;
258 };
259 }
260}
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...
static auto create(int32 value, int32 maximum, const drawing::point &location) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, minimum, maximum,...
static auto create(const control &parent, int32 value, int32 maximum, const drawing::point &location, const drawing::size &size, const xtd::string &name) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, maximum,...
static auto create(const control &parent, int32 value, int32 maximum) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, and maximum.
h_scroll_bar()
Initialize a new instance of h_scroll_bar class.
static auto create(const drawing::point &location, const drawing::size &size, const xtd::string &name) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified location, size, and name.
static auto create(const control &parent) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent.
static auto create(const drawing::point &location) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified location.
auto create_params() const noexcept -> xtd::forms::create_params override
Gets the required creation parameters when the control handle is created.
static auto create(const control &parent, int32 value) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, and value.
static auto create(const control &parent, int32 value, int32 minimum, int32 maximum, const drawing::point &location, const drawing::size &size, const xtd::string &name) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, minimum,...
static auto create(const control &parent, int32 value, const drawing::point &location) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, and location.
static auto create(const control &parent, const drawing::point &location, const drawing::size &size) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, location, and size.
static auto create(int32 value, const drawing::point &location) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, and location.
static auto create(int32 value, int32 maximum) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, and maximum.
static auto create(const control &parent, int32 value, int32 minimum, int32 maximum, const drawing::point &location) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, minimum,...
auto default_size() const noexcept -> xtd::drawing::size override
Gets the default size of the control.
static auto create(const control &parent, int32 value, int32 minimum, int32 maximum, const drawing::point &location, const drawing::size &size) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, minimum,...
static auto create(int32 value, int32 minimum, int32 maximum, const drawing::point &location) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, minimum, maximum,...
static auto create(int32 value, const drawing::point &location, const drawing::size &size, const xtd::string &name) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, location, size,...
static auto create(int32 value, int32 maximum, const drawing::point &location, const drawing::size &size, const xtd::string &name) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, maximum, location,...
static auto create(const control &parent, const drawing::point &location) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, and location.
static auto create(const control &parent, int32 value, int32 minimum, int32 maximum) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, minimum,...
static auto create(const control &parent, int32 value, int32 maximum, const drawing::point &location, const drawing::size &size) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, maximum,...
static auto create(int32 value, const drawing::point &location, const drawing::size &size) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, location, and size.
static auto create(int32 value, int32 minimum, int32 maximum, const drawing::point &location, const drawing::size &size) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, minimum, maximum,...
static auto create(const control &parent, int32 value, const drawing::point &location, const drawing::size &size) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, location,...
static auto create(const control &parent, int32 value, int32 maximum, const drawing::point &location) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, maximum,...
static auto create(int32 value, int32 minimum, int32 maximum, const drawing::point &location, const drawing::size &size, const xtd::string &name) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, minimum, maximum,...
static auto create(const control &parent, const drawing::point &location, const drawing::size &size, const xtd::string &name) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, location, size,...
static auto create(const drawing::point &location, const drawing::size &size) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified location, and size.
static auto create(int32 value) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value.
static auto create() -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar.
static auto create(int32 value, int32 minimum, int32 maximum) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, minimum, and maximum.
static auto create(int32 value, int32 maximum, const drawing::point &location, const drawing::size &size) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified value, maximum, location,...
static auto create(const control &parent, int32 value, const drawing::point &location, const drawing::size &size, const xtd::string &name) -> h_scroll_bar
A factory to create an xtd::forms::h_scroll_bar with specified parent, value, location,...
Represents a standard Windows scroll bar.
Definition scroll_bar.hpp:21
virtual int32 maximum() const noexcept
Gets the upper limit of values of the scrollable range.
virtual int32 value() const noexcept
Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar...
virtual int32 minimum() const noexcept
Gets the lower limit of values of the scrollable range.
#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
std::int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:25
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
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::scroll_bar control.
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