From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Trimming: TTextTrimming read FTrimming write SetTrimming default TTextTrimming.None;


__property Fmx::Types::TTextTrimming Trimming = {read=FTrimming, write=SetTrimming, default=0};


Type Visibility Source Unit Parent
property public
FMX.Graphics TTextSettings


Specifies the behavior of the text, when it overflows the area to draw the text.

Trimming may take the following values defined in the TTextTrimming type: None, Character, and Word.

If the value of this property is not None and the text does not fit in the drawing area, then it is trimmed to fit the area and an ellipsis sign is printed after the trimmed text.

Note: Under the iOS platform, in the FireMonkey framework Trimming works only when WordWrap = False.

See Also