FMX.CalendarEdit.TCalendarEdit.TextAlign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TextAlign: TTextAlign read GetTextAlign write SetTextAlign default 1;

C++

__property TextAlign _DEPRECATED_ATTRIBUTE0  = {default=1};

Properties

Type Visibility Source Unit Parent
property public
FMX.CalendarEdit.pas
FMX.CalendarEdit.hpp
FMX.CalendarEdit TCalendarEdit

Description

Warning: TextAlign is deprecated.

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

FMX.CalendarEdit.TCalendarEdit.TextAlign inherits from FMX.Edit.TCustomEdit.TextAlign. All content below this line refers to FMX.Edit.TCustomEdit.TextAlign.

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

The TextAlign property specifies how this edit control displays the text in terms of horizontal alignment. TextAlign can have one of the following, defined in TTextAlign, values:

  • Center (default) aligns the text at the middle of the edit control.
  • Leading aligns the text at the leftmost position inside the edit control.
  • Trailing aligns the text at the rightmost position inside the edit control.

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

See Also