The xtd::forms::style_sheets::border_color is used to set the color of the borders.
Fields | |
static const border_color | empty |
Provides an empty xtd::forms::style_sheets::border_color object. More... | |
Constructors | |
border_color ()=default | |
Initializes a new instance of the xtd::forms::style_sheets::border_color class. More... | |
border_color (const xtd::drawing::color &all) | |
Initializes a new instance of the xtd::forms::style_sheets::border_color class using the supplied border_color for all edges. More... | |
border_color (const xtd::drawing::color &left, const xtd::drawing::color &top, const xtd::drawing::color &right, const xtd::drawing::color &bottom) | |
Initializes a new instance of the xtd::forms::style_sheets::border_color class using a separate border_color for each edge. More... | |
Methods | |
bool | equals (const border_color &other) const noexcept override |
Additional Inherited Members | |
![]() | |
virtual bool | equals (const border_color &) 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_color class.
|
explicit |
Initializes a new instance of the xtd::forms::style_sheets::border_color class using the supplied border_color for all edges.
all | The xtd::forms::style_sheets::color_data to be used for border_color for all edges. |
xtd::forms::style_sheets::border_color::border_color | ( | const xtd::drawing::color & | left, |
const xtd::drawing::color & | top, | ||
const xtd::drawing::color & | right, | ||
const xtd::drawing::color & | bottom | ||
) |
Initializes a new instance of the xtd::forms::style_sheets::border_color class using a separate border_color for each edge.
left | The border_color for the left edge. |
top | The border_color for the top edge. |
right | The border_color for the right edge. |
bottom | The border_color for the bottom edge. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_color value for all the edges.
|
noexcept |
Sets the xtd::forms::style_sheets::border_color value for all the edges.
all | The xtd::forms::style_sheets::border_color for all edges if the same; otherwise, xtd::forms::style_sheets::color_data::empty. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_color value for the bottom edge.
|
noexcept |
Sets the xtd::forms::style_sheets::border_color value for the bottom edge.
bottom | The xtd::forms::style_sheets::border_color for the bottom edge. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_color value for the left edge.
|
noexcept |
Sets the xtd::forms::style_sheets::border_color value for the left edge.
left | The xtd::forms::style_sheets::border_color for the left edge. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_color value for the right edge.
|
noexcept |
Sets the xtd::forms::style_sheets::border_color value for the right edge.
right | The xtd::forms::style_sheets::border_color for the right edge. |
|
noexcept |
Gets the xtd::forms::style_sheets::border_color value for the top edge.
|
noexcept |
Sets the xtd::forms::style_sheets::border_color value for the top edge.
top | The xtd::forms::style_sheets::border_color for the top edge. |
|
static |
Provides an empty xtd::forms::style_sheets::border_color object.