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.
Hyperlink Markup Syntax
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.
Hyperlink Activation
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.
Change Hyperlink Color of Individual Layout Items
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.