Represents a Windows label control that can display hyperlinks.
Constructors | |
link_label_clicked_event_args (const xtd::forms::link &link, xtd::forms::mouse_buttons button) | |
Initialise a new instance of xtd::forms::link_labelc_clicked_event_args class. More... | |
Properties | |
const xtd::forms::link & | link () const noexcept |
Geyts the link clicked. More... | |
xtd::forms::mouse_buttons | button () const noexcept |
Gets which mouse button was pressed. More... | |
bool | visited () const noexcept |
Gets the visited link value. More... | |
void | visited (bool value) |
Sets the visited link value. More... | |
Additional Inherited Members | |
![]() | |
static const event_args | empty |
Provides a value to use with events that do not have event data. More... | |
![]() | |
event_args ()=default | |
Initializes a new instance of the event_args class. 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... | |
xtd::forms::link_label_clicked_event_args::link_label_clicked_event_args | ( | const xtd::forms::link & | link, |
xtd::forms::mouse_buttons | button | ||
) |
Initialise a new instance of xtd::forms::link_labelc_clicked_event_args class.
link | The xtd::forms::link clicked. |
button | One of the xtd::forms::mouse_buttons values that indicate which mouse button was pressed. |
|
noexcept |
Gets which mouse button was pressed.
|
noexcept |
Geyts the link clicked.
|
noexcept |
Gets the visited link value.
void xtd::forms::link_label_clicked_event_args::visited | ( | bool | value | ) |
Sets the visited link value.
value | true if visited link; otherwise false. |