The style specifies what kind of borders to display.
Fields | |
static const border_style | empty |
Provides a xtd::forms::style_sheets::border_style object with no xtd::forms::style_sheets::border_style. More... | |
Constructors | |
border_style ()=default | |
Initializes a new instance of the xtd::forms::style_sheets::border_style class. More... | |
border_style (border_type all) | |
Initializes a new instance of the xtd::forms::style_sheets::border_style class using the supplied xtd::forms::style_sheets::border_style size for all edges. More... | |
border_style (border_type left, border_type top, border_type right, border_type bottom) | |
Initializes a new instance of the xtd::forms::style_sheets::border_style class using a separate xtd::forms::style_sheets::border_style size for each edge. More... | |
Methods | |
bool | equals (const border_style &other) const noexcept override |
Additional Inherited Members | |
![]() | |
virtual bool | equals (const border_style &) const noexcept=0 |
Indicates whether the current object is equal to another object of the same type. More... | |
![]() | |
object ()=default | |
Create a new instance of the ultimate base class object. More... | |
bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. More... | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. More... | |
virtual type_object | get_type () const noexcept |
Gets the type of the current instance. More... | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const noexcept |
Creates a shallow copy of the current object. More... | |
virtual xtd::ustring | to_string () const noexcept |
Returns a sxd::ustring that represents the current object. More... | |
![]() | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. More... | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. More... | |
|
default |
Initializes a new instance of the xtd::forms::style_sheets::border_style class.
|
explicit |
Initializes a new instance of the xtd::forms::style_sheets::border_style class using the supplied xtd::forms::style_sheets::border_style size for all edges.
all | The number of pixels to be used for xtd::forms::style_sheets::border_style for all edges. |
xtd::forms::style_sheets::border_style::border_style | ( | border_type | left, |
border_type | top, | ||
border_type | right, | ||
border_type | bottom | ||
) |
Initializes a new instance of the xtd::forms::style_sheets::border_style class using a separate xtd::forms::style_sheets::border_style size for each edge.
left | The xtd::forms::style_sheets::border_style size for the left edge. |
top | The xtd::forms::style_sheets::border_style size for the top edge. |
right | The xtd::forms::style_sheets::border_style size for the right edge. |
bottom | The xtd::forms::style_sheets::border_style size for the bottom edge. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_style value for all the edges.
|
noexcept |
Sets the xtd::forms::style_sheets::border_style value for all the edges.
all | The xtd::forms::style_sheets::border_style for all edges if the same; otherwise, -1. |
border_type xtd::forms::style_sheets::border_style::bottom | ( | ) | const |
Gets the xtd::forms::style_sheets::border_style value for the bottom edge.
|
noexcept |
Sets the xtd::forms::style_sheets::border_style value for the bottom edge.
bottom | The xtd::f noexceptorms::style_sheets::border_style for the bottom edge. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_style value for the left edge.
|
noexcept |
Sets the xtd::forms::style_sheets::border_style value for the left edge.
left | The xtd::forms::style_sheets::border_style for the left edge. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_style value for the right edge.
void xtd::forms::style_sheets::border_style::right | ( | border_type | right | ) |
Sets the xtd::forms::style_sheets::border_style value for the right edge.
right | The xtd::forms::style_sheets::border_style for the right edge. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_style value for the top edge.
|
noexcept |
Sets the xtd::forms::style_sheets::border_style value for the top edge.
top | The xtd::forms::style_sheets::border_style for the top edge. |
|
static |
Provides a xtd::forms::style_sheets::border_style object with no xtd::forms::style_sheets::border_style.