FMX.Objects.TText.Trimming

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Trimming: TTextTrimming read GetTrimming write SetTrimming;

C++

__property Fmx::Types::TTextTrimming Trimming = {read=GetTrimming, write=SetTrimming, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Objects.pas
FMX.Objects.hpp
FMX.Objects TText

Description

Specifies the behavior of the text, when it overflows the area for drawing 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: For Android and iOS platforms, Trimming works only when WordWrap = False.

See Also