xtd 0.2.0
up_down_base.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "border_sides.hpp"
6#include "border_style.hpp"
8
10namespace xtd {
12 namespace forms {
24 struct data;
25
26 public:
28
32 virtual forms::border_sides border_sides() const noexcept;
36
39 virtual forms::border_style border_style() const noexcept;
48 virtual up_down_base& border_style(std::nullptr_t);
50
51 protected:
53
58
60
62 forms::create_params create_params() const noexcept override;
64
65 private:
66 xtd::sptr<data> data_;
67 };
68 }
69}
Contains xtd::forms::border_sides enum class.
Contains xtd::forms::border_style enum class.
container_control()
Initializes a new instance of the container_control class.
forms::create_params create_params() const noexcept override
Gets the required creation parameters when the control handle is created.
virtual forms::border_sides border_sides() const noexcept
Gets the border sides for the control.
up_down_base()
Initialize a new instance of up_down_base class.
virtual forms::border_style border_style() const noexcept
Gets the border style for the spin box (also known as an up-down control).
Contains xtd::forms::container_control class.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
border_sides
Specifies how a control anchors to the edges of its container.
Definition border_sides.hpp:23
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
constexpr const_pointer data() const noexcept
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:201