FMX.TabControl.TTabItem.VertTextAlign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property VertTextAlign: TTextAlign read GetVertTextAlign write SetVertTextAlign default 0;

C++

__property VertTextAlign = {default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.TabControl.pas
FMX.TabControl.hpp
FMX.TabControl TTabItem

Description

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

FMX.TabControl.TTabItem.VertTextAlign inherits from FMX.Controls.TTextControl.VertTextAlign. All content below this line refers to FMX.Controls.TTextControl.VertTextAlign.

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

The VertTextAlign property specifies how the TTextControl 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 TTextControl object.
  • Leading--aligns the text on a vertical axis, at the topmost position inside the TTextControl object.
  • Trailing--aligns the text on a vertical axis, at the bottommost position inside the TTextControl object.

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

See Also