8#include <xtd/iequatable>
15 namespace style_sheets {
59 control& auto_ellipsis(
bool value) noexcept;
103 const
xtd::drawing::color& color() const noexcept override;
114 const
xtd::drawing::font& font() const noexcept override;
224 using
object::equals;
225 bool equals(const
control& other) const noexcept override;
229 xtd::drawing::color get_solid_background_color() const noexcept;
232 xtd::drawing::rectangle get_border_rectangle(const
xtd::drawing::rectangle& bounds) const noexcept override;
235 xtd::drawing::rectangle get_fill_rectangle(const
xtd::drawing::rectangle& bounds) const noexcept override;
238 xtd::drawing::rectangle get_outline_rectangle(const
xtd::drawing::rectangle& bounds) const noexcept override;
241 xtd::drawing::rectangle get_content_rectangle(const
xtd::drawing::rectangle& bounds) const noexcept override;
244 xtd::drawing::string_format make_string_format() const noexcept override;
256 bool auto_ellipsis_ =
false;
270 std::optional<xtd::forms::style_sheets::length> width_;
271 std::optional<xtd::forms::style_sheets::length> height_;
Represent background color output manipulator class.
Definition background_color.h:24
Represents an ARGB (alpha, red, green, blue) color.
Definition color.h:49
static const xtd::drawing::color transparent
Gets a system-defined color that has an ARGB value of 0x00000000. This field is constant.
Definition color.h:59
static const xtd::drawing::color black
Gets a system-defined color that has an ARGB value of 0xFF000000. This field is constant.
Definition color.h:83
Defines a particular format for text, including font face, size, and style attributes....
Definition font.h:45
static xtd::drawing::font default_font()
Gets the default font that applications can use for dialog boxes and forms.
The text model allows you to specify the alignment, color, decoration, transformation,...
Definition itext_model.h:40
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
#define forms_export_
Define shared library export.
Definition forms_export.h:13
text_decoration
The xtd::forms::style_sheets::text_decoration enum class is used to set or remove decorations from te...
Definition text_decoration.h:25
white_space
The white_space enum class specifies how white-space inside an element is handled.
Definition white_space.h:23
text_transformation
The xtd::forms::style_sheets::text_transformation enum class is used to specify uppercase and lowerca...
Definition text_transformation.h:24
@ none
Defines none text decoration.
@ normal
Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary....
@ none
Defines none text transformation.
std::optional< type_t > optional
Represents the null_opt alias on std::nullopt_t.
Definition optional.h:181
Contains xtd::forms::style_sheets::ibox_model class.
Contains xtd::forms::style_sheets::iimage_model class.
Contains xtd::forms::style_sheets::itext_model class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10