Skip to main content

TdxCustomFormattedLabelProperties.HyperlinkColor Property

Specifies the color of hyperlinks in the formatted label.

Declaration

property HyperlinkColor: TColor read; write; default clDefault;

Property Value

Type Default Description
TColor clDefault

The hyperlink color in the formatted label’s caption.

Remarks

A formatted label’s caption can include any number of individual hyperlinks.

Use the following BBCode-inspired markup syntax to define a hyperlink within a string assigned to the Caption property:

  [URL=https://www.devexpress.com]DevExpress[/URL]

Refer to the following topic for detailed information on all supported formatting options: BBCode-Inspired Text Formatting Markup.

A click on a hyperlink displays its target in a new tab of the default system browser[1] or invokes the default mail client[2].

You can handle OnHyperlinkClick and OnShowHyperlinkHint events to change the predefined hyperlink behavior.

Default Value

The HyperlinkColor property’s default value is clDefault.

The default HyperlinkColor property value indicates that the hyperlink color depends on the current look & feel settings.

Footnotes
  1. A click on a hyperlink invokes the default browser if the hyperlink target uses the HTTPS or HTTP URI scheme.

  2. A click on a hyperlink invokes the default mail client and creates an empty e-mail for the specified address if the hyperlink target uses the MAILTO URI scheme.

See Also