API:FMX.DateTimeCtrls.TDateEdit.TextSettings

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TextSettings: TTextSettings read GetTextSettings write SetTextSettings;

C++

__property TextSettings;

Properties

Type Visibility Source Unit Parent
property published
FMX.DateTimeCtrls.pas
FMX.DateTimeCtrls.hpp
FMX.DateTimeCtrls TDateEdit

Description

Keeps the values of styled text representation properties that are set in the Object Inspector or programmatically.

FMX.DateTimeCtrls.TDateEdit.TextSettings inherits from FMX.Controls.TTextControl.TextSettings. All content below this line refers to FMX.Controls.TTextControl.TextSettings.

Keeps the values of styled text representation properties that are set in the Object Inspector or programmatically.

TextSettings references a TTextSettings type object that handles values of styled text representation properties that are set in the Object Inspector or programmatically. TextSettings references a TTextSettings type object, which handles styled text representation properties to be used for drawing texts in this control.

TTextSettings type objects provide all styled text representation properties and methods to manage them.

The styled text representation properties are FontColor, TextAlign, VertTextAlign, Trimming, WordWrap, and Font (TFont.Family, TFont.Size, and TFont.Style).

TTextSettings objects provide both styled text representation properties, whose values are loaded from a style (specified in StyledSettings), so all other styled text representation properties, whose values can be set manually, and methods to manage these text representation properties. The text representation properties identified in StyledSettings are loaded from the style and cannot be set manually.

Remember that the HorzAlign and VertAlign text representation properties stored in the TextSettings property of a control correspond to the TextAlign and VertTextAlign properties of the control.

See Also