FMX.Graphics.ITextSettings.DefaultTextSettings

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property DefaultTextSettings: TTextSettings read GetDefaultTextSettings;

C++

__property TTextSettings* DefaultTextSettings = {read=GetDefaultTextSettings};

Properties

Type Visibility Source Unit Parent
property public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics ITextSettings

Description

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

For styled controls, DefaultTextSettings is set during the style loading in the FMX.Controls.TStyledControl.ApplyStyle method.

For primitive controls (not having styles), DefaultTextSettings should keep the initial values of the text settings (text representation properties).

In case of a styled control, whether DefaultTextSettings is the same as TextSettings depends upon the particular realization of a control's class.

Notice that for the FMX.Objects.TText class, the DefaultTextSettings property stores values of text settings that the TextSettings property had when the component was created or the form was loaded.

See Also