FMX.TextLayout.TTextLayout.Trimming
Delphi
property Trimming: TTextTrimming read FTrimming write SetTrimming;
C++
__property Fmx::Types::TTextTrimming Trimming = {read=FTrimming, write=SetTrimming, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.TextLayout.pas FMX.TextLayout.hpp |
FMX.TextLayout | TTextLayout |
Description
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.