Represents an area within a xtd::forms::link_label control that represents a hyperlink within the control.
Public Constructors | |
| link_area ()=default | |
| link_area (xtd::usize start, xtd::usize length) noexcept | |
| Initializes a new instance of the xtd::forms::link_area class. | |
Public Properties | |
| auto | is_empty () const noexcept -> bool |
| Gets a value indicating whether the LinkArea is empty. | |
| auto | length () const noexcept -> xtd::usize |
| Gets the number of characters in the link area. | |
| auto | length (xtd::usize value) noexcept -> link_area & |
| Sets the number of characters in the link area. | |
| auto | start () const noexcept -> xtd::usize |
| Gets the starting location of the link area within the text of the xtd::forms::link_label. | |
| auto | start (xtd::usize value) noexcept -> link_area & |
| Sets the starting location of the link area within the text of the xtd::forms::link_label. | |
Public Methods | |||
Determines whether the specified object is equal to the current object.
| |||
| auto | equals (const xtd::object &obj) const noexcept -> bool override | ||
| Determines whether the specified object is equal to the current object. | |||
| auto | equals (const link_area &other) const noexcept -> bool override | ||
| Determines whether the specified object is equal to the current object. | |||
| auto | get_hash_code () const noexcept -> xtd::usize override | ||
| Serves as a hash function for a particular type. | |||
| auto | to_string () const noexcept -> xtd::string override | ||
| Returns a xtd::string that represents the current object. | |||
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| virtual auto | equals (const link_area &) const noexcept -> bool=0 |
| Indicates whether the current object is equal to another object of the same type. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
|
default |
| start | The zero-based starting location of the link area within the text of the LinkLabel. |
|
noexcept |
Initializes a new instance of the xtd::forms::link_area class.
| start | The zero-based starting location of the link area within the text of the LinkLabel. |
| length | The number of characters, after the starting character, to include in the link area. |
|
nodiscardnoexcept |
Gets a value indicating whether the LinkArea is empty.
|
nodiscardnoexcept |
Gets the number of characters in the link area.
|
noexcept |
Sets the number of characters in the link area.
| value | The number of characters, including spaces, in the link area. |
|
nodiscardnoexcept |
Gets the starting location of the link area within the text of the xtd::forms::link_label.
|
noexcept |
Sets the starting location of the link area within the text of the xtd::forms::link_label.
| value | The location within the text of the xtd::fors::link_label control where the link starts. |
|
nodiscardoverridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. |
Reimplemented from xtd::object.
|
nodiscardoverridenoexcept |
Determines whether the specified object is equal to the current object.
| other | The object to compare with the current object. |
|
nodiscardoverridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
nodiscardoverridevirtualnoexcept |
Returns a xtd::string that represents the current object.
Reimplemented from xtd::object.