Represents a display device or multiple display devices on a single system.
- Namespace
- xtd::forms
- Library
- xtd.forms
- Examples
- emoticons.cpp, and list_box.cpp.
|
| padding ()=default |
| Initializes a new instance of the padding class.
|
|
| padding (int all) |
| Initializes a new instance of the padding class using the supplied padding size for all edges.
|
|
| padding (int left, int top, int right, int bottom) |
| Initializes a new instance of the padding class using a separate padding size for each edge.
|
|
int | all () const |
| Gets the padding value for all the edges.
|
|
void | all (int all) |
| Sets the padding value for all the edges.
|
|
int | bottom () const |
| Gets the padding value for the bottom edge.
|
|
void | bottom (int bottom) |
| Sets the padding value for the bottom edge.
|
|
int | horizontal () const |
| Gets the combined padding for the right and left edges.
|
|
int | left () const |
| Gets the padding value for the left edge.
|
|
void | left (int left) |
| Sets the padding value for the left edge.
|
|
int | right () const |
| Gets the padding value for the right edge.
|
|
void | right (int right) |
| Sets the padding value for the right edge.
|
|
xtd::ustring | to_string () const noexcept override |
| Returns a string that represents the current padding.
|
|
int | top () const |
| Gets the padding value for the top edge.
|
|
void | top (int top) |
| Sets the padding value for the top edge.
|
|
int | vertical () const |
| Gets the combined padding for the bottom and top edges.
|
|
| object ()=default |
| Create a new instance of the ultimate base class object.
|
|
virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object.
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type.
|
|
template<typename object_t > |
std::unique_ptr< object_t > | memberwise_clone () const |
| Gets the type of the current instance.
|
|
virtual xtd::ustring | to_string () const noexcept |
| Returns a std::string that represents the current object.
|
|
|
static padding | add (const padding &p1, const padding &p2) |
| Computes the sum of the two specified padding values.
|
|
static padding | subtract (const padding &p1, const padding &p2) |
| Subtracts one specified Padding value from another.
|
|
static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal.
|
|
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance.
|
|