xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
dock_style.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
6 
8 namespace xtd {
10  namespace forms {
19  enum class dock_style {
21  none = 0,
23  top = 1,
25  bottom = 2,
27  left = 3,
29  right = 4,
31  fill = 5,
32  };
33 
35  inline std::ostream& operator<<(std::ostream& os, dock_style value) {return os << to_string(value, {{dock_style::none, "none"}, {dock_style::top, "top"}, {dock_style::bottom, "bottom"}, {dock_style::left, "left"}, {dock_style::right, "right"}, {dock_style::fill, "fill"}});}
36  inline std::wostream& operator<<(std::wostream& os, dock_style value) {return os << to_string(value, {{dock_style::none, L"none"}, {dock_style::top, L"top"}, {dock_style::bottom, L"bottom"}, {dock_style::left, L"left"}, {dock_style::right, L"right"}, {dock_style::fill, L"fill"}});}
38  }
39 }
The control&#39;s right edge is docked to the right edge of its containing control.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
All the control&#39;s edges are docked to the all edges of its containing control and sized appropriately...
Contains xtd::ustring class.
The control&#39;s bottom edge is docked to the bottom of its containing control.
The control is not docked.
dock_style
Specifies the position and manner in which a control is docked.
Definition: dock_style.h:19
The control&#39;s left edge is docked to the left edge of its containing control.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The control&#39;s top edge is docked to the top of its containing control.
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37