Skip to main content
All docs
V24.2

TdxCustomLayoutItemCaptionOptions.HyperlinkColor Property

Specifies the color of hyperlinks in the layout item caption.

Declaration

property HyperlinkColor: TColor read; write; default clDefault;

Property Value

Type Default Description
TColor clDefault

The hyperlink color in the layout item’s caption.

Remarks

A layout item 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 Text property:

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

Refer to the following topic for detailed information on all supported text 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 the layout item‘s OnHyperlinkClick event to execute custom code in response to a click on a hyperlink or prevent hyperlink activation depending on certain conditions.

Use the HyperlinkColor property to explicitly define the color of hyperlinks in the layout item caption.

Default Value

The HyperlinkColor property’s default value is clDefault.

The default HyperlinkColor property value indicates that the parent layout control‘s OptionsItem.HyperlinkColor property value specifies the layout item caption’s hyperlink color. If the OptionsItem.HyperlinkColor property value is also clDefault, 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