FMX.Controls.TTextSettingsInfo.Design

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Design: Boolean read FDesign write FDesign;

C++

__property bool Design = {read=FDesign, write=FDesign, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TTextSettingsInfo

Description

Handles whether the control using this TTextSettingsInfo object is in the design state.

If Design = True, then if you change any of the styled text representation properties stored in the TextSettings property, then the value responsible for the changed styled text representation property is automatically cleared from the StyledSettings property. Otherwise, the programmer should manage values of the StyledSettings property himself.

StyledSettings can contain the following values, declared in TStyledSettings:

TStyledSetting
Value
Corresponding Text
Representation Properties
Meaning

Family

TFont.Family

Font name.

Size

TFont.Size

Font size.

Style

TFont.Style

Font style (italic, bold).

FontColor

FontColor

Font color.

Other

HorzAlign, VertAlign,
Trimming, and WordWrap.

How the text is aligned and displayed.

See Also