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

◆ start() [2/2]

link & xtd::forms::link::start ( size_t  value)

Sets the starting location of the link within the text of the xtd::forms::link_label::link.

Parameters
valueThe location within the text of the the xtd::forms::link_label control where the link starts.
Returns
The current instance of xtd::forms::link_label::link.
Remarks
To specify text from the xtd::forms::link_label to display as a link, set the xtd::forms::link_label::start property to the location in the text to start creating the link. After the xtd::forms::link_label::start property is set, set the value of the xtd::forms::link_label::length property to the number of characters, including the character position specified in the xtd::forms::link_label::start property, that you want to make the link text. For example, if you want to make the first word of the text "The quick brown fox" a link, you set the xtd::forms::link_label::start property to zero (0) and the xtd::forms::link_label::length property to three (3).