FMX.ListBox.TListBox.Align
Delphi
property Align;
C++
__property Align = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBox |
Description
Specifies the alignment options (top, left, client, and so on) of this control.
FMX.ListBox.TListBox.Align inherits from FMX.Controls.TControl.Align. All content below this line refers to FMX.Controls.TControl.Align.
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.
Controls that have the Align or Anchors properties set can use a Scale that is different from the default (1,1), so that controls align together even when they have a custom scale.
See Also
- FMX.Types.TAlignLayout
- FMX.Controls.TControl.Anchors
- FMX.Controls.TControl.Position
- FMX.StdCtrls.TStatusBar
- FMX.StdCtrls.TToolBar
- Arranging FireMonkey Controls
- Using Layouts to Arrange Components
- Mobile Tutorial: Using Tab Components to Display Pages (iOS and Android)