TdxBadge.Text Property
Specifies a text string displayed by the badge UI adorner.
Declaration
property Text: string read; write;
Property Value
Type |
---|
string |
Remarks
Use the Font property to customize the font settings used to display the badge adorner’s text message. If the Size property is unspecified, the adorner’s bounding rectangle’s pixel height and width are always sufficient to fit the resulting text string and margins specified by the TextMargins property:
If the resulting text string’s length exceeds the badge’s width limited by the Size.Width property value, the badge crops the string showing an end ellipsis:
Note
The badge UI adorner displays only the Text property value if the Background.Transparent property is set to True.
See Also