xtd 0.2.0
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
250
251 protected:
253
255 xtd::forms::create_params create_params() const noexcept override;
256 xtd::drawing::size default_size() const noexcept override;
258
260
266 xtd::uptr<xtd::object> clone() const override;
268 };
269 }
270}
Defines the base class for controls, which are components with visual representation.
Definition control.hpp:81
virtual drawing::point location() const noexcept
Gets the coordinates of the upper-left corner of the control relative to the upper-left corner of its...
virtual const xtd::string & name() const noexcept
Gets the name of the control.
virtual drawing::size size() const noexcept
Gets the height and width of the control.
virtual std::optional< control_ref > parent() const noexcept
Gets the parent container of the control.
Encapsulates the information needed when creating a control.
Definition create_params.hpp:29
virtual int32 maximum() const noexcept
Gets the upper limit of values of the scrollable range.
scroll_bar(bool vertical)
Initializes a new instance of scroll_bar class.
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.
static v_scroll_bar create(const control &parent, int32 value, int32 minimum, int32 maximum, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, minimum,...
static v_scroll_bar create(const control &parent, int32 value, int32 maximum, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, maximum,...
static v_scroll_bar create(int32 value, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::v_scroll_bar with specified value, location, and size.
static v_scroll_bar create(const control &parent, int32 value)
A factory to create an xtd::forms::v_scroll_bar with specified parent, and value.
v_scroll_bar()
Initialize a new instance of v_scroll_bar class.
static v_scroll_bar create(int32 value)
A factory to create an xtd::forms::v_scroll_bar with specified value.
static v_scroll_bar create(int32 value, int32 minimum, int32 maximum, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, maximum,...
static v_scroll_bar create(int32 value, int32 minimum, int32 maximum, const drawing::point &location)
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, maximum,...
static v_scroll_bar create(int32 value, int32 maximum)
A factory to create an xtd::forms::v_scroll_bar with specified value, and maximum.
static v_scroll_bar create(const control &parent, int32 value, int32 minimum, int32 maximum, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, minimum,...
static v_scroll_bar create(const control &parent, const drawing::point &location)
A factory to create an xtd::forms::v_scroll_bar with specified parent, and location.
xtd::drawing::size default_size() const noexcept override
Gets the default size of the control.
static v_scroll_bar create()
A factory to create an xtd::forms::v_scroll_bar.
static v_scroll_bar create(const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::v_scroll_bar with specified location, and size.
static v_scroll_bar create(const control &parent, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::v_scroll_bar with specified parent, location, size,...
static v_scroll_bar create(const control &parent, int32 value, int32 minimum, int32 maximum, const drawing::point &location)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, minimum,...
static v_scroll_bar create(int32 value, int32 maximum, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::v_scroll_bar with specified value, maximum, location,...
static v_scroll_bar create(const control &parent, int32 value, const drawing::point &location)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, and location.
static v_scroll_bar create(int32 value, int32 minimum, int32 maximum)
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, and maximum.
static v_scroll_bar create(int32 value, const drawing::point &location)
A factory to create an xtd::forms::v_scroll_bar with specified value, and location.
static v_scroll_bar create(int32 value, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::v_scroll_bar with specified value, location, size,...
static v_scroll_bar create(const control &parent, int32 value, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, location,...
static v_scroll_bar create(const control &parent, int32 value, int32 maximum, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, maximum,...
static v_scroll_bar create(int32 value, int32 maximum, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::v_scroll_bar with specified value, maximum, location,...
static v_scroll_bar create(const control &parent, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::v_scroll_bar with specified parent, location, and size.
static v_scroll_bar create(const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::v_scroll_bar with specified location, size, and name.
static v_scroll_bar create(const drawing::point &location)
A factory to create an xtd::forms::v_scroll_bar with specified location.
static v_scroll_bar create(const control &parent, int32 value, const drawing::point &location, const drawing::size &size)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, location,...
static v_scroll_bar create(const control &parent, int32 value, int32 maximum)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, and maximum.
xtd::uptr< xtd::object > clone() const override
Creates a new object that is a copy of the current instance.
static v_scroll_bar create(const control &parent)
A factory to create an xtd::forms::v_scroll_bar with specified parent.
static v_scroll_bar create(int32 value, int32 minimum, int32 maximum, const drawing::point &location, const drawing::size &size, const xtd::string &name)
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, maximum,...
static v_scroll_bar create(const control &parent, int32 value, int32 minimum, int32 maximum)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, minimum,...
static v_scroll_bar create(const control &parent, int32 value, int32 maximum, const drawing::point &location)
A factory to create an xtd::forms::v_scroll_bar with specified parent, value, maximum,...
static v_scroll_bar create(int32 value, int32 maximum, const drawing::point &location)
A factory to create an xtd::forms::v_scroll_bar with specified value, minimum, maximum,...
xtd::forms::create_params create_params() const noexcept override
Gets the required creation parameters when the control handle is created.
#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
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
xtd::unique_ptr_object< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.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