Skip to main content
All docs
V26.1
  • TdxLayoutItemFormattedTextProperties Class

    Stores formatted text-related layout item settings.

    Declaration

    TdxLayoutItemFormattedTextProperties = class(
        TdxCustomItemFormattedTextProperties
    )

    Remarks

    Layout item captions support multiple BBCode-inspired formatting tags that allow you to define hyperlinks and apply different formatting attributes to text – bold, italic, superscript, underline, etc. All layout item types support caption formatting (except for tabbed layout groups).

    VCL Layout Control: A Hyperlink in a Layout Item Caption

    Formatted text-related settings allow you to modify the appearance and behavior of layout item captions formatted using BBCode-inspired markup.

    Main API Members

    The list below outlines key members of the TdxLayoutItemFormattedTextProperties class.

    ActualHyperlinkColor
    Returns the hyperlink color in the current look and feel.
    ActualShowHyperlinkHint | ActualShowTextHint
    Indicate if hints are enabled for hyperlinks and hint-marked text ranges.
    HyperlinkColor
    Specifies the color of hyperlinks in formatted messages, labels, and UI element captions.
    OnHintedTextClick
    Allows you to execute custom code in response to a click on a hint-marked text range.
    OnHintedTextMouseEnter | OnHintedTextMouseLeave
    Allows you to track mouse pointer movement between hint-marked text ranges.
    OnHyperlinkClick
    Allows you to complement or override predefined hyperlink activation behavior.
    OnHyperlinkMouseEnter | OnHyperlinkMouseLeave
    Allows you to track mouse pointer movement between hyperlinks.
    OnShowHyperlinkHint | OnShowTextHint
    Allow you to complement or override predefined hint display behavior (for hyperlinks and hint-marked text ranges).
    ShowHyperlinkHint
    Specifies if a hint is displayed when a user positions the mouse pointer within a hyperlink.
    ShowTextHint
    Specifies if a hint is displayed when a user positions the mouse pointer within a text range enclosed between [HINT] and [/HINT] tags.

    General-Purpose API Members

    Assign
    Copies compatible settings between layout items/groups.
    BeginUpdate | EndUpdate | CancelUpdate
    Allow you to avoid excessive redraw operations during batch content and setting changes.
    OnChanged
    Allows you to track formatted text setting changes.

    Direct TdxLayoutItemFormattedTextProperties Class Reference

    The TdxCustomLayoutItemCaptionOptions.FormattedText property references a TdxLayoutItemFormattedTextProperties object.

    See Also