FMX.Edit.TCustomEdit.VertTextAlign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property VertTextAlign: TTextAlign read GetVertTextAlign write SetVertTextAlign default TTextAlign.Center;

C++

__property Fmx::Types::TTextAlign VertTextAlign = {read=GetVertTextAlign, write=SetVertTextAlign, default=0};

Properties

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

Description

Specifies how the text will be displayed in terms of vertical alignment.

The VertTextAlign property specifies how the TCustomEdit control displays the text in terms of vertical alignment. VertTextAlign can have one of the following values (defined in TTextAlign):

  • Center (default)--aligns the text on a vertical axis, at the middle of the TCustomEdit object.
  • Leading--aligns the text on a vertical axis, at the topmost position inside the TCustomEdit object.
  • Trailing--aligns the text on a vertical axis, at the bottommost position inside the TCustomEdit object.

When you use text representation properties stored in ITextSettings.TextSettings, remember that VertTextAlign corresponds to VertAlign.

See Also