From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Align: TAlignLayout read FAlign write SetAlign default TAlignLayout.None;


__property Fmx::Types::TAlignLayout Align = {read=FAlign, write=SetAlign, default=0};


Type Visibility Source Unit Parent
property public
FMX.Controls TControl


Specifies the alignment options (top, left, client, and so on) of this control.

Use Align to automatically set the alignment of the current control. Setting Align to a value different than None can affect the position, size (height and width), and anchors of the control. By default, Align is set to None.

Descendants of TControl typically set the visibility and value for the Align property. For example, for TToolBar, Align defaults to TAlignLayout.Top.

To see the possible values for Align and their visible effects over the control, see FMX.Types.TAlignLayout.

See Also

Code Examples