xtd
0.2.0
Loading...
Searching...
No Matches
◆
links()
[1/3]
const
link_collection
& xtd::forms::link_label::links
(
)
const
noexcept
Gets the collection of links contained within the
xtd::forms::link_label
.
Returns
A
xtd::forms::link_label::link_collection
that represents the links contained within the
xtd::forms::link_label
control.
Remarks
A
xtd::forms::link_label
control can display any number of links within the text of the control. This property enables you to access the
xtd::forms::link_label::link_collection
instance associated with the
xtd::forms::link_label
that represents the collection of links displayed in the control. You can then use the members of the
xtd::forms::link_label::link_collection
class to add, remove, and find links in the collection. For more information on the types of tasks you can perform with the link collection, see
xtd::forms::link_label::link_collection
.
When a
xtd::forms::link_label
control is created, a default hyperlink that contains all the text within the
xtd::forms::link_label
control is added to the
xtd::forms::link_label::link_collection
. You can override this default link by specifying a new link area with the
xtd::forms::link_label::link_area
property, or specify a link using the
xtd::forms::link_label::link_collection::push_back
method of the
xtd::forms::link_label::link_collection
. You can also remove the default hyperlink by using the
xtd::forms::link_label::link_collection::erase
method of the
xtd::forms::link_label::link_collection
class.
If you do not need to specify more than one link to display within the
xtd::forms::link_label
, you can use the
xtd::forms::link_label::link_area
property.
Examples
demo.cpp
.
xtd
forms
link_label
Generated on Sat Sep 14 2024 21:25:26 for xtd by
Gammasoft
. All rights reserved.