xtd 1.0.0
Loading...
Searching...
No Matches
v_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() -> v_scroll_bar;
47 [[nodiscard]] static auto create(const xtd::drawing::point& location) -> v_scroll_bar;
52 [[nodiscard]] static auto create(const xtd::drawing::point& location, const xtd::drawing::size& size) -> v_scroll_bar;
58 [[nodiscard]] static auto create(const xtd::drawing::point& location, const xtd::drawing::size& size, const xtd::string& name) -> v_scroll_bar;
62 [[nodiscard]] static auto create(xtd::int32 value) -> v_scroll_bar;
67 [[nodiscard]] static auto create(xtd::int32 value, const xtd::drawing::point& location) -> v_scroll_bar;
85 [[nodiscard]] static auto create(xtd::int32 value, xtd::int32 maximum) -> v_scroll_bar;
140 [[nodiscard]] static auto create(const xtd::forms::control& parent) -> v_scroll_bar;
145 [[nodiscard]] static auto create(const xtd::forms::control& parent, const xtd::drawing::point& location) -> v_scroll_bar;
163 [[nodiscard]] static auto create(const xtd::forms::control& parent, xtd::int32 value) -> v_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...
virtual auto minimum() const noexcept -> xtd::int32
Gets the lower limit of values of the scrollable range.
scroll_bar(bool vertical)
Initializes a new instance of scroll_bar class.
virtual auto maximum() const noexcept -> xtd::int32
Gets the upper limit of values of the scrollable range.
virtual auto value() const noexcept -> xtd::int32
Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar...
static auto create(xtd::int32 value, xtd::int32 maximum, const xtd::drawing::point &location) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, maximum,...
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 xtd::forms::control &parent, const xtd::drawing::point &location, const xtd::drawing::size &size) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, location, and size.
v_scroll_bar()
Initialize a new instance of v_scroll_bar class.
static auto create(xtd::int32 value, xtd::int32 minimum, xtd::int32 maximum) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, and maximum.
static auto create(const xtd::forms::control &parent, const xtd::drawing::point &location) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, and location.
static auto create(const xtd::forms::control &parent, const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, location, size,...
static auto create(const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified location, size, and name.
static auto create(const xtd::forms::control &parent, xtd::int32 value, const xtd::drawing::point &location, const xtd::drawing::size &size) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, location,...
static auto create(xtd::int32 value, const xtd::drawing::point &location, const xtd::drawing::size &size) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, location, and size.
static auto create(const xtd::forms::control &parent, xtd::int32 value, xtd::int32 minimum, xtd::int32 maximum, const xtd::drawing::point &location) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, minimum,...
static auto create(const xtd::forms::control &parent, xtd::int32 value) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, and value.
static auto create(const xtd::forms::control &parent, xtd::int32 value, const xtd::drawing::point &location) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, and location.
static auto create(xtd::int32 value, xtd::int32 maximum) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, and maximum.
static auto create(xtd::int32 value, const xtd::drawing::point &location) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, and location.
static auto create(const xtd::forms::control &parent, xtd::int32 value, xtd::int32 maximum, const xtd::drawing::point &location) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, maximum,...
static auto create(const xtd::drawing::point &location) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified location.
static auto create(xtd::int32 value, xtd::int32 minimum, xtd::int32 maximum, const xtd::drawing::point &location, const xtd::drawing::size &size) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, maximum,...
static auto create(const xtd::forms::control &parent) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent.
static auto create(const xtd::forms::control &parent, xtd::int32 value, xtd::int32 minimum, xtd::int32 maximum) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, minimum,...
static auto create() -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar.
static auto create(xtd::int32 value, xtd::int32 maximum, const xtd::drawing::point &location, const xtd::drawing::size &size) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, maximum, location,...
static auto create(xtd::int32 value, const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, location, size,...
static auto create(const xtd::forms::control &parent, xtd::int32 value, xtd::int32 maximum) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, and maximum.
static auto create(xtd::int32 value, xtd::int32 minimum, xtd::int32 maximum, const xtd::drawing::point &location) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, maximum,...
static auto create(const xtd::forms::control &parent, xtd::int32 value, xtd::int32 minimum, xtd::int32 maximum, const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, minimum,...
static auto create(const xtd::forms::control &parent, xtd::int32 value, const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, location,...
static auto create(xtd::int32 value, xtd::int32 minimum, xtd::int32 maximum, const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, maximum,...
auto default_size() const noexcept -> xtd::drawing::size override
Gets the default size of the control.
static auto create(const xtd::forms::control &parent, xtd::int32 value, xtd::int32 minimum, xtd::int32 maximum, const xtd::drawing::point &location, const xtd::drawing::size &size) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, minimum,...
static auto create(xtd::int32 value) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value.
static auto create(const xtd::drawing::point &location, const xtd::drawing::size &size) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified location, and size.
static auto create(const xtd::forms::control &parent, xtd::int32 value, xtd::int32 maximum, const xtd::drawing::point &location, const xtd::drawing::size &size) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, maximum,...
static auto create(xtd::int32 value, xtd::int32 maximum, const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified value, maximum, location,...
static auto create(const xtd::forms::control &parent, xtd::int32 value, xtd::int32 maximum, const xtd::drawing::point &location, const xtd::drawing::size &size, const xtd::string &name) -> v_scroll_bar
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, maximum,...
#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