xtd 0.2.0
h_scroll_bar.h
Go to the documentation of this file.
1 #pragma once
5 #include "scroll_bar.h"
6 
8 namespace xtd {
10  namespace forms {
27  class forms_export_ h_scroll_bar : public scroll_bar {
28  public:
30 
33  h_scroll_bar();
35 
37 
39  using control::create;
48  static h_scroll_bar create(int32 value, int32 minimum = 0, int32 maximum = 100, const drawing::point& location = {-1, -1}, const drawing::size& size = {-1, -1}, const xtd::ustring& name = xtd::ustring::empty_string);
58  static h_scroll_bar create(const control& parent, int32 value, int32 minimum = 0, int32 maximum = 100, const drawing::point& location = {-1, -1}, const drawing::size& size = {-1, -1}, const xtd::ustring& name = xtd::ustring::empty_string);
60 
61  protected:
63 
65  xtd::forms::create_params create_params() const noexcept override;
66  xtd::drawing::size default_size() const noexcept override;
68  };
69  }
70 }
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition: point.h:54
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
Represents a standard Windows scroll bar.
Definition: scroll_bar.h:19
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Encapsulates the information needed when creating a control.
Definition: create_params.h:27
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
static control create(const drawing::point &location={-1, -1}, const drawing::size &size={-1, -1}, const xtd::ustring &name=xtd::ustring::empty_string)
A factory to create a specified control with specified location, size, and name.
Contains xtd::forms::scroll_bar control.
Defines the base class for controls, which are components with visual representation.
Definition: control.h:78
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
static const ustring empty_string
Represents the empty string.
Definition: ustring.h:53
Specifies that both the x and y coordinates of the control are defined.
Represents a standard Windows horizontal scroll bar.
Definition: h_scroll_bar.h:27
size_t size
Represents a size of any object in bytes.
Definition: types.h:195