FMX.Controls.TTextControl.DefaultTextSettings
Delphi
property DefaultTextSettings: TTextSettings read GetDefaultTextSettings;
C++
__property Fmx::Graphics::TTextSettings* DefaultTextSettings = {read=GetDefaultTextSettings};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TTextControl |
Description
Stores a TTextSettings type object keeping the default values of the text representation properties.
DefaultTextSettings is set during the loading of the style in the ApplyStyle method. DefaultTextSettings is initialized in Create with the following values:
Font.Size := 11 ; // depends on the platform Font.Family = 'Tahoma'; // depends on the platform Font.Style := [] ; FontColor := TAlphaColorRec.Black; TextAlign := TTextAlign.Leading; VertTextAlign := TTextAlign.Center; Trimming := TTextTrimming.None; WordWrap := False;