Skip to main content

TdxCustomFormattedLabel Class

The base class for unbound and data-aware formatted label controls.

Declaration

TdxCustomFormattedLabel = class(
    TcxCustomEdit
)

Remarks

A formatted label is a simple label control designed to display a short inscription with limited text formatting support via the following BBCode-inspired markup tags in source text:

  • The bold, italic, underline, and strikeout font attributes ([B][/B], [I][/I], [U][/U], and [S][/S]).

  • The font and highlight colors ([COLOR][/COLOR] and [BACKCOLOR][/BACKCOLOR]).

  • The font size, superscript, and subscript attributes ([SIZE][/SIZE], [SUP][/SUP], and [SUB][/SUB]).

  • The font typeface ([FONT][/FONT]).

  • A text range in which all markup tags are ignored ([NOPARSE][/NOPARSE]).

  • A hyperlink ([URL][/URL]).

The TdxCustomFormattedLabel class extends its ancestor with the following members that allow you to:

  • Customize the formatted label’s appearance and behavior settings (Style and Properties).

  • Identify which settings currently affect the formatted label (ActiveProperties).

Do not use the TdxCustomFormattedLabel class directly. Use its descendants instead.

See Also