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

◆ disabled_link_color() [2/2]

link_label & xtd::forms::link_label::disabled_link_color ( const xtd::drawing::color color)

Sets the color used when displaying a disabled link.

Parameters
colorA xtd::drawing::color that represents the color when displaying a disabled link. The default is Empty.
Returns
Current control.
Remarks
his property enables you to specify the color for links that are disabled in the xtd::forms::link_label. Disabled links do not cause the xtd::forms::link_label::link_clicked event to be raised.
There are a number of colors associated with a link. All links in the xtd::forms::link_label are initially displayed with the color defined in the xtd::forms::link_label::link_color property. The xtd::forms::link_label::active_link_color property enables you to specify the color of the link when it is in the process of being clicked. The xtd::forms::link_label::visited_link_color property enables you to specify the color of a link after it has been visited by the user.
The default color of the xtd::forms::link_label::active_link_color, xtd::forms::link_label::disabled_link_color, xtd::forms::link_label::link_color and xtd::forms::link_label::visited_link_color properties may be different on operating systems other than Windows with ligh theme.