FMX.Edit.TCustomEdit.DefaultTextSettings

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DefaultTextSettings: TTextSettings read GetDefaultTextSettings;

C++

__property Fmx::Graphics::TTextSettings* DefaultTextSettings = {read=GetDefaultTextSettings};

Properties

Type Visibility Source Unit Parent
property public
FMX.Edit.pas
FMX.Edit.hpp
FMX.Edit TCustomEdit

Description

Stores a TTextSettings type object keeping the default values of the text representation properties.

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;

The ApplyStyle method might load from a style the values of the following DefaultTextSettings properties: FontColor, Font, TextAlign, and VertTextAlign.

See Also