FMX.StdCtrls.TPresentedTextControl

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Controls.Presentation.TPresentedControlFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTPresentedTextControl

Delphi

TPresentedTextControl = class(TPresentedControl, ITextSettings, ICaption, IAcceleratorKeyReceiver)

C++

class PASCALIMPLEMENTATION TPresentedTextControl : public Fmx::Controls::Presentation::TPresentedControl

Properties

Type Visibility Source Unit Parent
class public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls FMX.StdCtrls

Description

Base class for all presented text controls such as TLabel.

Such controls provide a separation between data and presentation, uses the methods declared in the ITextSettings interface to manage the visual text representation properties (TFont.Family, TFont.Size, TFont.Style, FontColor, HorzAlign, VertAlign, Trimming, and WordWrap), and uses the TTextSettingsInfo service class to manage sets of styled text representation properties stored in the DefaultTextSettings, TextSettings, StyledSettings, and ResultingTextSettings properties.

TTextControl implements the IAcceleratorKeyReceiver interface to allow the use of this control as an accelerator key receiver.

See Also