xtd 0.2.0
Loading...
Searching...
No Matches

◆ link_data() [1/2]

std::any xtd::forms::link::link_data ( ) const
noexcept

Gets the data associated with the link.

Returns
A std::any object representing the data associated with the link.
Remarks
You can use this property to supply information related to the link. The information provided by this property can be used within the xtd::forms::link_label::link_clicked event of the xtd::forms::link_label to provide information about the link that can be used to process the link being clicked. For example, you can specify the URL to display in your web browser when the link is clicked as the value of the xtd::forms::link_label::link_data property. You can also use the xtd::forms::link_label::link_data property to identify a dialog to display when the user clicks on the link.