xtd 1.0.0
Loading...
Searching...
No Matches
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 [[nodiscard]] virtual auto border_sides() const noexcept -> xtd::forms::border_sides;
35 virtual auto border_sides(xtd::forms::border_sides value) -> up_down_base&;
36
39 [[nodiscard]] virtual auto border_style() const noexcept -> xtd::forms::border_style;
43 virtual auto border_style(xtd::forms::border_style value) -> up_down_base&;
50
51 protected:
53
58
60
62 [[nodiscard]] auto create_params() const noexcept -> xtd::forms::create_params 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.
Provides focus-management functionality for controls that can function as a container for other contr...
Definition container_control.hpp:25
auto create_params() const noexcept -> xtd::forms::create_params override
Gets the required creation parameters when the control handle is created.
up_down_base()
Initialize a new instance of up_down_base class.
virtual auto border_style() const noexcept -> xtd::forms::border_style
Gets the border style for the spin box (also known as an up-down control).
virtual auto border_sides() const noexcept -> xtd::forms::border_sides
Gets the border sides for the 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
std::nullptr_t null_ptr
Represents the null_opt alias on std::nullptr_t.
Definition null_ptr.hpp:19
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 auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:197